Batch file no longer works correctly in Windows 11

56 Views Asked by At

I have a batch file that I run in the File Explorer address line that moves files from a specific directory into the current File Explorer directory.

move C:\Specific folder\*.* .

I run it by clicking the blank space at the end of the address which causes the pieces of the name of the folder to combine into a single path string and become selected. At this point, I type in the name of the batch file, hit Enter, and it executes, placing the files from the specific folder into the one I'm currently looking at.

This previously worked perfectly for years under Windows 10, but in Windows 11, the files are copied into the batch file parent directory instead.

Any thoughts on how to fix this?

0

There are 0 best solutions below