Forum Index  ViceVersa HOME         FAQ and Knowledge Base

 FAQForum FAQ   SearchSearch Forum  RegisterRegister 
 ProfileProfile   Log inLog in 

Using environment variables in profile and vvlauncher

 
Post new topic   Reply to topic     Forum Index -> Support
Author Message
jblender



Joined: 29 Jun 2006
Posts: 3

PostPosted: Fri Jun 30, 2006 8:22 pm    Post subject: Using environment variables in profile and vvlauncher Reply with quote

I'd like to make a generic FSF file so I can easily install it along with ViceVersa on different machines using a custom MSI file. I plan on backing up everyone's My Documents folder to a shared network location. To make this easy I'd like to be able to set the source in the profile to "%userprofile%\My Documents" and the target to "%homedrive%\My Documents Backup\".

The problem is that the variables are not being resolved and I get a "path does not contain a drive indication" error. A similar error occurs in VVlauncher when you try to use a variable in the path to the profile. Any ideas on how I could make this work?

Thanks,
James
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8759

PostPosted: Sat Jul 01, 2006 9:34 am    Post subject: Reply with quote

Hello,
in ViceVersa you need to use < instead of %
so "<userprofile>\My Documents" instead of "%userprofile%\My Documents"
and "<homedrive>\My Documents Backup\" instead of "%homedrive%\My Documents Backup\"
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
Guest






PostPosted: Sun Jul 09, 2006 1:48 pm    Post subject: Reply with quote

I have a batch file that creates an environment variable named latest_folder and it does not appear to work with ViceVersa. I have tried with both <latest_folder> and %latest_folder% in the source folder path and neither work. So if I have "S:\~snap\<latest_folder>\servbackups\" as the source and click compare I get the error message " [ERROR] Source: "S:\~snap\<latest_folder>\servbackups\", invalid parameter syntax, unknown parameter <latest_folder>"

If I open a command promt and do a "dir s:\~snap\%latest_folder%" it will display the content of the dir.
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8759

PostPosted: Mon Jul 10, 2006 9:07 am    Post subject: Reply with quote

Very strange, I need to try this out...
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
Guest






PostPosted: Wed Jul 26, 2006 12:08 am    Post subject: Reply with quote

were you able to get this to work?
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8759

PostPosted: Thu Jul 27, 2006 9:49 am    Post subject: Reply with quote

I think you are right, I have entered this as an issue to be fixed in our database
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Support All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can 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 © phpBB Group
Copyright © TGRMN Software. TGRMN Software products: