I'm trying to launch this script, without any effect, please help:
Run, "C:\Program Files\Adobe\Adobe DNG Converter\Adobe DNG Converter.exe" -c "C:\Camera"
I've also tried:
Run, C:\Program Files\Adobe\Adobe DNG Converter\Adobe DNG Converter.exe -c C:\Camera
command line parameters
-
- Posts: 125
- Joined: 06 May 2016, 16:28
Re: command line parameters
The format looks OK. What happens with that same sort of command line in a Windows batch script?
Re: command line parameters
You probably need to set the WorkingDir parameter in the Run command to C:\Program Files\Adobe\Adobe DNG Converter.
My scripts:-
XRef - Produces Cross Reference lists for scripts
ReClip - A Text Reformatting and Clip Management utility
ScriptGuard - Protects Compiled Scripts from Decompilation
I also maintain Ahk2Exe
XRef - Produces Cross Reference lists for scripts
ReClip - A Text Reformatting and Clip Management utility
ScriptGuard - Protects Compiled Scripts from Decompilation
I also maintain Ahk2Exe
Re: command line parameters
Hi,
I think that
Try
regards
JB
I think that
will not run because of that spaces between the .exe-file-name.Run, "C:\Program Files\Adobe\Adobe DNG Converter\Adobe DNG Converter.exe" -c "C:\Camera"
Try
Code: Select all
program_to_run := chr(34) "C:\Program Files\Adobe\Adobe DNG Converter\Adobe DNG Converter.exe" chr(34)
program_to_run := program_to_run " -c " chr(34) "c:\camera" chr(34)
Clipboard := program_to_run ; for debugging purpose, you can copy that to a cmd-window and test it
run, %program_to_run%
JB
AHK: 1.1.37.01 Ansi, 32-Bit; Win10 22H2 64 bit, german
Re: command line parameters
Run, ""C:\Program Files\Adobe\Adobe DNG Converter\Adobe DNG Converter.exe" "-c" "C:\Camera""
try this
try this
Who is online
Users browsing this forum: Rohwedder and 424 guests