Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Batch: if %username%=something...
Name: skater123 Date: December 23, 2005 at 17:21:05 Pacific OS: Windows XP Pro CPU/Ram: 500mhz, 224mb
Comment:
Hi How can I compare a variable to a string of text in a batch script? What I mean, exactly is this:
if %username%="cup cakes" then goto begin
What I mean is "if username is 'cup cakes' then goto begin"
But I don't know how to do this.. is there something I'm doing wrong?
Summary: actually all the possible sub_folders-* included in the database are in a root folder all mixed-up, but i want them to be moved to their proper foldersomething* wich is determinated by the .txt databa...
Summary: Hey i jus all of a sudden got a fear that something will happen to my computer (because its happened many times in the past), well to my question i was wondering is there anything i could do, or downl...
Summary: Hi there This forum has been a real help, I had to create a really complicated batch file that would search for and add specific lines of text within the firewall.ini of Blackice on W2K and XP machine...