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

Included files in v2.1.5.0 - %MYFILES% env. variable not working

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



Joined: 01 Nov 2006
Posts: 1

PostPosted: Wed Nov 01, 2006 7:08 pm    Post subject: Reply with quote

I am apparenlty unable to get the %MYFILES% environment variable to work correctly.

---------------------------
For Example:

- I have attached "choice.com" for use in a simple batch script
- In my script I am doing this:
%myfiles%\choice Is this information correct, and are you ready to continue
if errorlevel=2 goto BadInfo

This results in inability of the script to find choice.com. The same thing happens with deltree and zip utility executables.
---------------------------

Any ideas?

Thanks
-Relsch
Back to top
Oleg Tsheglov
Site Admin


Joined: 13 Feb 2004
Posts: 309

PostPosted: Fri Nov 03, 2006 1:36 am    Post subject: Reply with quote

Please try file name with extension %MYFILES%\choice.com
or use SET command to get use input.
Back to top
xird



Joined: 22 Nov 2006
Posts: 1

PostPosted: Wed Nov 22, 2006 10:33 am    Post subject: Reply with quote

Hello,
Am trying this out and works great, but i want to create a folder in a temp directory and copy some files into it. So far any folder i create appears on the desktop, is it possible for the folder to be created elsewhere , ie so user does not see. in the application that runs the temp folder will be deleted. The folder does not have to be the actual temp folder, just a folder in a location, other than the desktop.


any advice ??

thank you
Back to top
Oleg Tsheglov
Site Admin


Joined: 13 Feb 2004
Posts: 309

PostPosted: Wed Nov 22, 2006 11:24 pm    Post subject: Reply with quote

You can use system variables, for example %TEMP%
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