Hello.
If you have the sql tools (I think the osql.exe referenced below is in the SQL2005 free download from MS) then you can run your sql scripts with a .cmd or .bat file.
Here is an example; note the paths being set at the top of the batch and adjust as required.
Hope this helps.
Eric...
Hello. Have you considered using the SQL Management Studio to do this? Much easier and faster than all that scripting. The basics are:
1) create your sql database.
2) right click on the new db and choose Import Data
- change the import type to Access and browse to your database
-...
Hi - answering 3) from the thread.
3) My default script host is CScript but the script i have above is written in VBscript, how can i force or make sure the scripts run with host set to Wscript rather than CScript?
Use cscript with the script name passed in as the argument to run.
Example...
Hi.
I reviewed your code and have a few pointers and bug fixes for you.
1) Const statements are not valid within subs or functions; put them at the top of the script where they'll be available to all routines.
2) When you're working with PCs in a networked environment - check to ensure...
(Previous thread: thread329-755152)
Background:
Administrators need to be able to install a printer driver remotely. Below is a routine (vbscript) that with the help from Microsoft's DLL will:
1) Copy a source driver folder from local machine to remote machine. (Builds the full folder path...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.