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.
dos script to find part of hostname
Name: code3hree Date: January 18, 2005 at 06:47:00 Pacific OS: xp CPU/Ram: p4 1gb
Comment:
hi there,
I am trying to find out how to write a script which will run in a scheduler and take certain actions depending on the first 3 chars of a pcs hostname, i cannot work out how to get a statement using FIND and %COMPUTERNAME% to confirm whether or not nhh are the first 3 character in a pcs hostname and if so to then go and do something.
Summary: Hello Experts I am not a script-writer, by any means, so I am in need of some assistance please ! I am looking for a simple DOS batch file that, when executed, asks the user to enter 1 or more names...
Summary: I would like to write a batch script to find all .pst (Microsoft Outlook 2003) files that exceed the size of 1 G. The .pst files reside on a network directory (i.e. u:\%username%). My pc is a Windows...
Summary: I posted this over at the programming section with no luck, so I thought I'd try here - can any script gurus tell me why my VBS script doesn't work? It's supposed to find and echo out any .doc files ...