Author Topic: Change a folder name  (Read 796 times)

Malic

  • Full Member
  • ***
  • Posts: 105
Change a folder name
« on: July 14, 2019, 12:00:44 PM »
Is there a way to edit a folder name, as in have it look for something with a known name, and then edit it?

New function am trying to build for Elite, a way to change the visited star filter on the fly (after logging to main menu) but had some really creative people find out a way to download the entirety of the Elite data base with 30 million plus locations.

Have created two folders, one, the half a gig visited star filter for everything, and then the users personal visited stars, and wanted to be able to back them up, but then also have VA automate the switching between the two, and ensure it never deletes the users personal file.

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4782
  • RTFM
Re: Change a folder name
« Reply #1 on: July 14, 2019, 12:15:37 PM »
You can use the "ren" (or "rename", if you prefer) command to rename files and folders:
Code: [Select]
Run application 'cmd' -with parameters '/c ren "Folder name" "Different name"'
Either set the "In this working directory" option to the directory containing the folder you're trying to rename, or prepend the path to the first folder name in the "With these parameters" field.

Set the "Window Style" option to "Hidden" if you don't want the cmd window popping up momentarily.