Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   execDos challenges (http://forums.winamp.com/showthread.php?t=269631)

gpriceputu 16th April 2007 12:38

execDos challenges
 
can anyone suggest a solution for the issues I have using execDos ?

1. the default example doesn't accept passwords that contains $ character; how can I pass such a password to the application ?

2. I am trying to start a batch file which in turns starts powershell with a script as argument (powershell .\script.ps1). Actually powershell should start under some credentials I want to provide using execDos. Is it possible to achieve this using execDos ? if yes how ?

Thanks in advance for your help.
Gabriel

Comm@nder21 16th April 2007 14:03

1. you probably need to escape $ by using $$ :)

2. powershell will only act the way it is told by the batch file. you should instead try to replace the batch file with NSIS code and thus call the powershell directly with exedos.


All times are GMT. The time now is 04:58.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.