Search the Community
Showing results for tags 'FileGetShortName'.
-
Hi. Local $sPDFtk = FileGetShortName(@ScriptDir & "\pdftk.exe") Local $sInputPDF = FileGetShortName(@ScriptDir & "\Prodis_Test.pdf") Local $sSig_1 = FileGetShortName(@ScriptDir & "\Sig_1.pdf") Local $sTempPDF = FileGetShortName(@ScriptDir & "\Prodis_Test_TEMP.pdf") $iSuccess = ShellExecuteWait($sPDFtk, $sInputPDF & " stamp " & $sSig_1 & " output " & $sTempPDF, "", "", @SW_HIDE) @ScriptDir is "H:\_Conrad lokal\Downloads\AutoIt3\_COX". As you can see there is a space in the path. I know that ShellExecuteWait is working with FileGetShortName at the filename. It seems to me that I can't pass the parameters that way. But without FileGetShortName it's not working too. Ideas? Regards, Conrad
- 22 replies
-
- shellexecute
- shellexecutewait
-
(and 3 more)
Tagged with:
-
use FilegetShortname to convert the path:192.168.2.1SharekingProjects - PriMaths_2014Math2014_CDROMebookforTestingeBook211T_20141006 the result: 192.168.2.1SharekingPROJEC~1MATH20~-1ebookFORTES~1EBOOK2~1 the folder "Share" is a network share folder. if the path is 192.168.2.1abc - gghgh which "acb - gghgh" is share folder, then the result is 192.168.2.1abc - gghgh, the function not work. i think if the share folder have space, then cannot convert.