ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old March 2nd, 2004, 09:56 PM
a.koepke a.koepke is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 2 a.koepke User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unable to get current dir on Win98 (VBScript / JScript)

I have got a VBScript and MS JScript program and am trying to find out the current directory.

Code:
Set objFSO = CreateObject("Scripting.FileSystemObject")
strDir=wshShell.CurrentDirectory


That code works on WinXP but returns undefined when tried on Win98.

Does anyone know a way of getting this that works with Win98?

Reply With Quote
  #2  
Old March 2nd, 2004, 10:18 PM
a.koepke a.koepke is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 2 a.koepke User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Ok, just realised that the Win98 machine did not have WSH 5.6 installed, it only has WSH 5.

Due to not having the latest version of WSH installed it didn't recognise the command.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingASP Development > Unable to get current dir on Win98 (VBScript / JScript)


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap