•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Windows NT / 2000 / XP / 2003 section within the Tech Talk category of DaniWeb, a massive community of 402,444 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,952 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Windows NT / 2000 / XP / 2003 advertiser: Programming Forums
Views: 5159 | Replies: 3
![]() |
•
•
Join Date: Jan 2006
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
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.
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.
•
•
Join Date: Feb 2005
Location: Warwick, England
Posts: 666
Reputation:
Rep Power: 5
Solved Threads: 17
•
•
Join Date: Sep 2003
Posts: 103
Reputation:
Rep Power: 5
Solved Threads: 3
Good to know I have not used %0 in years good to know I don't need to.
![]() |
•
•
•
•
•
•
•
•
DaniWeb Windows NT / 2000 / XP / 2003 Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
apple browser cd choose command computer console crack debian defender dell development download drm explorer fiji install internet leopard linux microsoft mobile news office open operating os parliament photo registry root security server software source spyware survey system technology tiger torvalds tweaks ubuntu unix upgrade vista windows windows update windows vista xp
- passing parameters in bat file (Visual Basic 4 / 5 / 6)
- no network access when running a bat file from the asp script (Windows Servers and IIS)
Other Threads in the Windows NT / 2000 / XP / 2003 Forum
- Previous Thread: Here's a poser for you...
- Next Thread: Windows Media Player not playing movie clips Error ID = 0xC00D11D1


Linear Mode