Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

can you make variable junctions update themselves?


  • Please log in to reply

#1
mikeloeven

mikeloeven

    Member

  • Member
  • PipPipPip
  • 305 posts
i wont get into why i am doing this but it basically revolves around multiple modifications to a program that are incompatable with each other and i want a easy way to switch setups without copying large driectories each time.

but basically i moved the data and config folders of the program to C:\test the other profile is C:\test1 and so on.

in my system variables i have 3 related entries
%appmode% = (variable)
%modedata% = "%appmode%\data"
%modeconfig% = %appmode%\config"

the idea was to create junction points that link data to %modedata% and config to %modeconfig% that way i can switch profiles by simple changing the path of %appmode% to test test1 or test2 so on and so on.

the problem is that changing the root variable doesn't update the junctions. and i was wondering if there is a way to make the junctions update automatically or do i need to write a batch file that recreates both junctions every time i update the variable

Edited by mikeloeven, 14 February 2011 - 06:49 PM.

  • 0

Advertisements







Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP