Abyssmedia.com Forum Index Abyssmedia.com
Abyssmedia Support Forums
 
  FAQ    Search    Memberlist    Usergroups   Register 
  Profile    Log in to check your private messages    Log in 

problem running exe from CD under Vista

 
Post new topic   Reply to topic    Abyssmedia.com Forum Index -> Quick Batch File Compiler
View previous topic :: View next topic  
Author Message
vince



Joined: 12 Jun 2007
Posts: 3

PostPosted: Tue Jul 17, 2007 10:02 pm    Post subject: problem running exe from CD under Vista Reply with quote

I am trying to run a command like this from a CD under Vista. It works fine as a batch file under Vista and outputs the CD-ROM drive letter to a text file, as intended. It works fine as an exe and batch under 2000/XP.

ECHO %~dp0 > C:\file.txt

where file.txt will display D:\

However, after I convert it to an executable Vista will run the exe from a temp folder which gives the wrong path in file.txt. Is there a way to prevent this from happening?
Back to top
support
Site Admin


Joined: 13 Feb 2004
Posts: 376

PostPosted: Wed Jul 18, 2007 3:36 pm    Post subject: Reply with quote

What compiler version you have?
Back to top
vince



Joined: 12 Jun 2007
Posts: 3

PostPosted: Wed Jul 18, 2007 3:43 pm    Post subject: Reply with quote

2.1.5.0
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Abyssmedia.com Forum Index -> Quick Batch File Compiler All times are GMT
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-2011 phpBB Group