But seriously, I'm trying to take a word from a text file and put it into a variable so I can call it later on. After alot of googling I came across a resource kit 2000 tool called 'Setx' However there isn't a lot of syntax help. Can anyone see what's going wrong here?
SETX Var -f txt.txt -a 1,2I've tried then echoing %Var% but it just echos ' %Var% '
Thanks Bye!
** OK, So if you do a simple script with this like
setx TEXT=CONTENTSThen you have to restart cmd before echoing it works. But if you use my code in the first paragraph, You have to restart before it works, What the F prompt?
Edited by Syphilis, 11 April 2010 - 10:08 AM.


Sign In
Create Account

Back to top









