cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • DownloadSemiconductor Toolkit: Tools to create wafer maps, add wafer geometry to graphics, explore die defects & compare wafers.
  • Discovery Summit 2026: Early User Edition - September 23-24.Register. It's free.
  • See how to design an experiment, explore factor-response relationships, assess tradeoffs, and ID best settings. Register for Sep. 11 Mastering JMP.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar

How to tackle blank spaces or . in windows file path?

How to tackle blank spaces or . in windows file path? e.g path="C:\Users\Public\Pictures Ram.a temp\PICASO\temp.pptx";

JSL (copy file etc) does not work if there is spaces or . in the path of a file. what is the solution for that?

Thanks

Ram

1 ACCEPTED SOLUTION

Accepted Solutions

Re: How to tackle blank spaces or . in windows file path?

The example code for the Copy File() function in the Scripting Index seems to contradict your claim:

 

Names Default To Here( 1 );
rc0 = File Exists( "$TEMP/x.jmp" );
rc1 = Copy File(
	"$SAMPLE_DATA/Loss Function Templates/Normal.jmp",
	"$TEMP/x.jmp"
);
rc2 = File Exists( "$TEMP/x.jmp" );
rc3 = Delete File( "$TEMP/x.jmp" );
rc4 = File Exists( "$TEMP/x.jmp" );
Char( rc0 ) || " " || Char( rc1 ) || " " ||
Char( rc2 ) || " " || Char( rc3 ) || " " ||
Char( rc4 );/* 0 1 1 1 0 */

What is the problem that you seem to have?

View solution in original post

2 REPLIES 2

Re: How to tackle blank spaces or . in windows file path?

The example code for the Copy File() function in the Scripting Index seems to contradict your claim:

 

Names Default To Here( 1 );
rc0 = File Exists( "$TEMP/x.jmp" );
rc1 = Copy File(
	"$SAMPLE_DATA/Loss Function Templates/Normal.jmp",
	"$TEMP/x.jmp"
);
rc2 = File Exists( "$TEMP/x.jmp" );
rc3 = Delete File( "$TEMP/x.jmp" );
rc4 = File Exists( "$TEMP/x.jmp" );
Char( rc0 ) || " " || Char( rc1 ) || " " ||
Char( rc2 ) || " " || Char( rc3 ) || " " ||
Char( rc4 );/* 0 1 1 1 0 */

What is the problem that you seem to have?

Re: How to tackle blank spaces or . in windows file path?

Thank you, looks like something else was the issue. i am using JSL to generate P3ICLI code.

Thanks you once again.

Recommended Articles