Computing.Net > Forums > Programming > Bat File Help

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

Bat File Help

Reply to Message Icon

Name: taraw3
Date: February 3, 2004 at 12:18:45 Pacific
OS: Windows 2000 Pro
CPU/Ram: 1.7 1.0
Comment:

I need some help with a bat file that I created. I am trying to make it stay minimized on my user's screens. Do I simply put Echo Off or @Echo Off in the bat file and where do I put it to take effect? Also, if I am disconnecting a network mapped drive, and it asks the user Y or N, isn't there a way to just say Y without asking? Thank you in advance for any help that anyone can give me! :)



Sponsored Link
Ads by Google

Response Number 1
Name: CyberSlug
Date: February 3, 2004 at 14:44:48 Pacific
Reply:

I don't think you can do that easily with just a batch file.

I recommend looking into the scripting language AutoIt v3. It lets you run commands, simulate, keypresses and much more. Also, scripts can be compiled into a small, stand-alone executable.


0

Response Number 2
Name: kaepeekay
Date: February 4, 2004 at 05:50:31 Pacific
Reply:

I think you use net use to disconnect a drive.
use
net use (driveletter) /delete /yes.
It won't ask for confirmation.


0

Response Number 3
Name: taraw3
Date: February 4, 2004 at 09:47:10 Pacific
Reply:

Thank you so much for your help with the net use command. I tried that and it worked much better. Do you have any clues about making the bat file run minimized? I am applying this bat file as their logon script through Active Directory on Windows 2000. Any help would be appreciated? I don't know if it is that @Echo Off thing or what that actually does. If anyone has any ideas, feel free to reply! Thanks! :)


0

Response Number 4
Name: son of bill
Date: February 4, 2004 at 12:10:44 Pacific
Reply:

@echo off


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Canon IR5000 Recursive function fails ...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Bat File Help

Bat file help www.computing.net/answers/programming/bat-file-help-/10866.html

Bat + reg = 1 bat file help!!! www.computing.net/answers/programming/bat-reg-1-bat-file-help/9468.html

BAT File Help www.computing.net/answers/programming/bat-file-help/9668.html