Search found 1 match
- 11 Oct 2017 06:44
- Forum: DOS Batch Forum
- Topic: Setting a variable based on a command
- Replies: 1
- Views: 2110
Setting a variable based on a command
Hello everyone, first time on this forums and was looking for some help with a batch file, im not an expert with these and trying to learn but I've got stuck. Basically I want the result of: wmic useraccount where name=josh.carpenter get sid to be a variable I can use, this is what I tried: @echo of...