Professional Documents
Culture Documents
Crear Batch File
Crear Batch File
This document describes how you can create a batch file to map network drives and
set it as a scheduled task. This can be useful for when the network drive mappings
are initially created using administrative privileges or through domain login scripts,
but then the mapped drives are not available when running the AccuMark
applications.
You can see this in an example using a command prompt, and using the command
“net use” and you see the mapped network drives with an OK status:
However, if you now open a command prompt – and Run As Administrator and now
use the command "net use" you will either (1) not see the network drive mappings
or (2) see the network drives but the Status will show "Unavailable":
1
1. Create a TEXT file net.txt in C:\
Enter text with the network drive information as below:
“sumima-pc\c" = the network drive you want to map
“W” = specify the letter for the drive
“Cad889” = password to login network drive
“sumi.ma” = the user name to login
2
4. Highlight “Task Scheduler Library’ and click “Create Task”:
3
Go Actions tab, create new, select the net.bat:
4
6. Open Start menu, enter UAC to open user account control settings.
Choose “Never Notify”: