0

I cut and pasted some programs from C drive to another partition to free up some space in the C drive. Now the programs don't run. Should I move the programs back to C drive again?

4
  • 2
    Yes put the folder back
    – Moab
    Commented Oct 16, 2020 at 19:35
  • You need to specifically know which programs are installed in which way and how they can be moved to another location or if they can be moved at all. Most programs need to be uninstalled and then reinstalled at a different location.
    – Lenin
    Commented Oct 19, 2020 at 7:34
  • 1
    Unless the application is portable, where it installs all required files into a single directory, this is not possible since it breaks paths/variables, whether those types of links are in %AppData%, %LocalAppData%, %ProgramData%, or the Registry (the latter of which is the most problematic). While you can manually adjust the paths/variables (RegEditX would be recommended for the Registry), it's more efficient to uninstall the application and reinstall it to another partition, either via the installer's GUI or via msiexec.
    – JW0914
    Commented Oct 19, 2020 at 12:48
  • Move it back, then look at creating junctions. Commented Oct 19, 2020 at 16:48

3 Answers 3

0

The ability to cut & paste a program to a different location is going to depend on a variety of factors.

Sometimes a program is installed to a a location, it is possible everything needed to run that program is installed in that folder and can run without issue. This means the folder it is installed in can be moved to a new location and everything will work without issue. This is typically not in modern Windows systems. There are programs that do follow this convention, which are called portable applications.

It is very common for more complex programs or their installers to write file and folder locations into the Windows Registry, configuration files, databases, etc. Moving a folder to another location without updating these entries will result in the program working incorrectly, or not at all. It is technically possible to do this in some cases, but will require knowledge of where these entries are and the ability to modify them. However, that is going to depend on each individual program. Now, if you did move the program and it stopped working, you should be able to just move it back to its original location and it should work normally again.

0

In a word, no.

  • When you install a program, the installer often puts parts of the program in places other than %ProgramFiles%, telling the system where all those files are, and if you move the part in %ProgramFiles% to another location, the system "gets confused" and can't find the things it needs to run the program
    • If you have done this, move the files back to exactly where they were and your program should work again
  • Exceptions to the rule:
    Some (sometimes smaller) programs that can be moved are those designed to just need the executable in any location you place it, or a portable version of the program designed to run off a USB thumb drive

If you are running out of space on C:, you can uninstall programs, reinstalling them on another partition if the installer allows it; even under those circumstances, some data will always be placed on C: (it's just the way Windows works).

1
  • This is not a very good or informative answer.
    – Keltari
    Commented Oct 17, 2020 at 1:44
0

It depends, but it should usually work; however, you will need to ensure you copy the entire folder and add new shortcuts that lead to the new location.

  • The reason you think it doesn't work is that your Desktop, and possibly taskbar, shortcuts all lead to the executable file in C::
    1. Go to your desktop shortcut → Right-click Properties
    2. Target: Copy your program's executable's new path, pasting it here. Ensure that the filename of the executable is included in the text that you paste here.
    3. Start in: If this is not blank, paste the new path of the folder that contains the executable here
    4. Apply → OK (it should now work)

If you pinned the programs to the taskbar, unpin them, run them from the Desktop shortcut, then re-pin them.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .