If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
runas script to launch batch file
Hello again. I have another program that need to be lauched by a batchfile
however it needs to be run as a different user here we go. batchfile name is: mount-truecrypt.bat inside has this: REM mounting truecypt volumes !! do not change !! "c:\program files\truecrypt\truecrypt.exe" /volume "\Device\Harddisk1\Partition1" /letter F /favorites /p newutopianewutopia10 /q "c:\program files\truecrypt\truecrypt.exe" /volume "\Device\Harddisk2\Partition1" /letter N /favorites /p newutopianewutopia10 /q REM starting sharing for truecrypt /y is required for unattended interaction net stop server /y net start server /y net start "computer browser" /y exit i need this file to run as the user truecrypt with the password 1234567890 |
Ads |
Thread Tools | |
Display Modes | |
|
|