... This untested snippet should work on W2k or higher, not sure about NT4 @echo off for /f %%a in ('dir /a:-d /b^|find /c /v ""') do if %%a LSS 10 goto :EOF ...
What if the machine is taking offline and request times out...it won't be able to give the hostname... ... __________________________________ Do you Yahoo!? ...
thank you so much for all your help. I really appreciate it. Alla ... __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved...
ping -a XXX.XXX.XXX.XXX (where XXX.XXX.XXX.XXX is the IP address of the computer in question) The -a resolves the IP address to a host name. ... From: Alla...
I usually use this command: nbtstat -A 192.168.0.102 | find "<03>" This returns the computername and the user on that system. It's not 100% fool proof but it...
First of all thank you for the help i truly appreciate it. I tried the new snippet and upon running it i get syntax is incorrect. The batch file is running...
On stardate Thu, 2 Oct 2003 02:20:24 +1000, Captain Michael Marquart spake ... and to cater for this, the following may help. @echo off for /f %%a in ('dir...
Wow Great ;) That works thank you. I had to edit the batch file because it currently looked at the local path. Unfortunately the email server will try to...
Hi There is an utility under WinSock programming - HostInfo. It comes in source form i.e. HostInfo.c. To use it, you need a C compiler - I use the free ...
Great!!! this is totally terrific - I'll definitely try. Thank you, Alla ... __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with...
Hello again… Thanks for helping me the last time I was here… But I have a new problem….. I am sharing files as a mapped drive "X:" in a main DC server...
u could do it like if exist \\server1\someshare net use x: \\server1\someshare if not exist \\server1\someshare net use x: \\server2\someshare ~Andy ... ...
Hi, Need help to check the drive of the cdrom.Issue here is i have a boot cd with menu for fdisk,format,...... when i boot the cd , if the disk contains no...
On stardate Tue, 7 Oct 2003 16:05:53 +0800, Captain Raja Sekhar spake ... Try this. It requires a writable drive, either a floppy or a hard drive or a ram...
Hi All, I did a search and have been reading through your messge files for a while but I didn't see anything addressing my specific problem. I saw a lot of...
Hi Chuck , A couple of warnings about the code that follows. First, it is untested. You should treat it as such (put pauses throughout, let all commands echo,...
Hi, How do I delete all contents of a directory? I think I read somewhere that deltree no longer exists in Windows 2000 but I still cant find a decent ...
On stardate Wed, 8 Oct 2003 04:03:22 -0700 (PDT), Captain ramfree spake ... del is enhanced in W2K del /? ... enclose the "path\long filename" in double...
Hi, this is a w98 version of deltree but still works with Windows 2000. Just copy it into any %path% directory. It's very useful in order to avoid annoying...
This works in NT / 2K ECHO Y|DEL c:\temp\*.* be advised it$B!G(Bs dangerous. Lamar _____ From: ramfree [mailto:ramfree26@...] Sent: Wednesday, October...
Thank You for your help.but the script didnt work for me.anyway i have set :L=X option in config .sys to set cdrom drive to x: Thanks, Raja ... From: Michael...
Thanks Sam, this looks like a good temp fix until I can find something that isn't quite so big a hammer. I will test it this morning. I wish I could figure...
This is really crazy. I could swear that the first time I tested Sam's idea (which is quite ingenious) it worked fine deleting the session just as it should...
I have frequently found that piping a text file works better than "echo y". Try using an external text file containing only a "y" and pipe it in like this: ...