Search found 4 matches
- 29 Jan 2010 09:09
- Forum: DOS Batch Forum
- Topic: Defining a variable by user input for creating folder PSExec
- Replies: 8
- Views: 14040
Re: Defining a variable by user input for creating folder PSExec
thanks a lot for your help, aGerman. what im doing is a bit different; i start a remote command line on the remote pc psexec \\remotepc cmd and only then i run the .bat file. the .bat file i want to run is already on the remote pc. but im going for your aproach...and drop mine thanks a lot for the h...
- 28 Jan 2010 08:49
- Forum: DOS Batch Forum
- Topic: Defining a variable by user input for creating folder PSExec
- Replies: 8
- Views: 14040
Re: Defining a variable by user input for creating folder PSExec
No special characters are used... but if i dont use the "" it executes the (CD). But before that it doesnt create the folder with the username correctly. but only if i run it remotely on another machine. locally it creates it correctly. ie: remotely i enter SUE as username and it creates a...
- 28 Jan 2010 07:38
- Forum: DOS Batch Forum
- Topic: Defining a variable by user input for creating folder PSExec
- Replies: 8
- Views: 14040
Re: Defining a variable by user input for creating folder PSExec
Hi HCV242, mabe you've got a problem with blanks. Have you ever tried to use double quotes, like Code: @ECHO OFF SET /P "user= USERNAME: " md "%user%" cd "%user%" Regards aGerman Hi aGerman, thanks you for trying to help. adding "" doesnt solve my problem. wi...
- 28 Jan 2010 06:05
- Forum: DOS Batch Forum
- Topic: Defining a variable by user input for creating folder PSExec
- Replies: 8
- Views: 14040
Defining a variable by user input for creating folder PSExec
Defining a variable by user input for creating a folder with the command MD The batch ive done works locally, but if execute it remotely with PSexec it doesnt work I'm using: @ECHO OFF SET /P user= USERNAME: md %user% cd %user% If i run it remotely the folder created will only have the first letter ...