Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works

can you make variable junctions update themselves?

  • Please log in to reply




  • 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


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