RSS Forums RSS
Please support our Windows NT / 2000 / XP / 2003 advertiser: EASEUS Resize 2003 Partition No Data Loss
Views: 6144 | Replies: 3 | Thread Tools  Display Modes
Join Date: Jan 2006
Posts: 2
Reputation: technoGeek is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
technoGeek technoGeek is offline Offline
Newbie Poster

Help running a .bat file in xp sp2

  #1  
Jan 23rd, 2006
Hi,
When my users login they run a bat file called login.bat. The batch file then calls three other files using the following commands.

%0\..\wscript.exe %0\..\shortcut.js
%0\..\wscript.exe %0\..\i5shortcut.js
%0\..\wscript.exe %0\..\i5settingswim.vbs

%0\..\Kix32.exe groups.scr


When this is run from a W2k machine the script runs fine without any problems. However, when the script is run an XP SP2 machine (with the Firewall switched off) I get an error message that reads

"Script error: failed to find/open script!

Does anyone know why this is happening. I'm assuming the above commands are not recognised by XP. The files its calling are are sitting in the netlogon direcoty of an NT server with SP6a.

Many thanks for any assistance.
AddThis Social Bookmark Button
Reply With Quote  

Only community members can participate in forum threads. You must register or log in to contribute.



Similar Threads
Other Threads in the Windows NT / 2000 / XP / 2003 Forum
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 3:16 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC