KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Script problem

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    KS-Soft Forum Index -> HostMonitor
View previous topic :: View next topic  
Author Message
Wooltown



Joined: 22 May 2002
Posts: 115
Location: Sweden

PostPosted: Fri Apr 11, 2003 6:27 am    Post subject: Reply with quote

Hello !

When I From a HMScript calls a .BAT-file and in the .BAT-file has the following command for listing the files in a folder, I get only the 8.3 name, why ?
c:winntsystem32cmd /c dir /b > aa.txt

Regards
Sven
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Fri Apr 11, 2003 12:36 pm    Post subject: Reply with quote

I cannot reproduce this problem (tried on Windows 2000 Professional). What Windows do you use? NT 4.0? 2000? XP? Does HostMonitor started as application or as service?
Truth to say I don't think this problem related to HostMonitor. Probably some "design features" of cmd.exe

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Marcus



Joined: 18 Nov 2002
Posts: 367

PostPosted: Sun Apr 13, 2003 8:24 am    Post subject: Reply with quote

Try to rename your batch file to .cmd and see if the problem still exists (assuming you run with nt4.0 or higher, otherwise this is the way it works).
Back to top
View user's profile Send private message
Wooltown



Joined: 22 May 2002
Posts: 115
Location: Sweden

PostPosted: Mon Apr 14, 2003 6:06 am    Post subject: Reply with quote

Thank you it helped my problem !


/Sven
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    KS-Soft Forum Index -> HostMonitor All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index