littleclown Posted January 4, 2010 Share Posted January 4, 2010 Hello. I need to use @SW_HIDE with run and runwait, but I don't want to set working dir. How can I use default working dir with @SW_HIDE? Thanks in advance Link to comment Share on other sites More sharing options...
99ojo Posted January 4, 2010 Share Posted January 4, 2010 (edited) Hi, helpfile is your friend: Run(@WindowsDir & "\Notepad.exe", "", @SW_HIDE) "" is the parameter workingdir (here:empty) ;-)) Stefan Edited January 4, 2010 by 99ojo Link to comment Share on other sites More sharing options...
littleclown Posted January 4, 2010 Author Share Posted January 4, 2010 I search for it, but I am not sure why but just can't find it . I try with 0 and with -1 (sometimes -1 is default value) but with "" works . Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now