如何處理空格或 .在 Windows 文件路徑中?如何處理空格或 .在 Windows 文件路徑中?例如 path="C:\Users\Public\Pictures Ram.a temp\PICASO\temp.pptx";
如果有空格或 .JSL(複製文件等)不起作用。在文件的路徑中。解決方案是什麼?
謝謝
內存
回复:如何處理空格或 .在 Windows 文件路徑中?謝謝,看來問題出在其他地方。我正在使用 JSL 生成 P3ICLI 代碼。
再次感謝你。
回复:如何處理空格或 .在 Windows 文件路徑中?腳本索引中 Copy File() 函數的示例代碼似乎與您的主張相矛盾:
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 */
你似乎有什麼問題?