Jump to content
Macro Express Forums

Rename Folder Error


Recommended Posts

Greetings!

 

I have two different folders for the same game. The other folder contains the original game, and the other folder contains the modded version of the same game.

 

Every time I want to play either the vanilla or the modded game, I need to rename the folders for Steam to recognize the version of the game I want to play at the moment. For a while I changed the names of the folders manually, but I got fed up with it and created a macro to do the boring and slow work for me instead.

 

I have a prompt of two options, between playing the modded or the original version.

When I try to use the Rename Folder -command in my macro, it creates an error. The folder won't be renamed.

 

I see no reasons for this error. I have checked many times, that the macro should work as intended. I have checked the folder names. I have closed Macro Express Pro and reopened it with admin rights. Nothing I have tried has worked out so far.

 

Here are two screenshots about the case.

Any ideas?

 

image.png.cfb6d1b3e8af1f762ea93f8fc15ef04d.pngimage.png.70d02e63adbe6d52f6b0027e476e5ef7.png

 

Thanks in advance!

Link to comment
Share on other sites

The rename instruction does NOT simply assume that the path to "new-name-folder" is the same as the path to "old-namd-folder" -- though logically, what else could it be?:(

So, before the Rename Folder instruction, use Change Directory/Folder to set the working folder to
D:\Pelit\Steam\steamapps\common

Alternatively, specify the full path for the new name in the Rename Folder command.

Link to comment
Share on other sites

Hi,

Your macro does not appear to deal with option '1'.

If Variable %T[1]% Equals "1"
End If

does nothing.

Which is fine if you never, ever, want to revert to that option, but presumably sometime you will want to.

That aside, even with your logic corrected, that seems an unnecessarily complicated way of running two separate programs IMO. Why not simply have two separate shortcuts?

 

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...