R
R
repeat2018-10-06 19:35:55
Command line
repeat, 2018-10-06 19:35:55

How to make file and directory names with double quotes in Windows (fat32 table edit) via command line?

The task is simple:
There is a directory name and a file on the flash drive in it
. You need to rename the directory and the file in it - replace one character with a double quote.
And do it through the command line (a cmd file is planned that will automatically do everything)
Theoretically, you can use the analogue of the dd program from linux for windows and replace the necessary characters in the fat32 table.
But how to find the place where to replace, even if the names of the directory and file are known exactly?
Or maybe there are other methods?
ps Methods like use winhex, find the file name and rename are not suitable - in the end, you just need to automate the process.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
#
#, 2018-10-06
@mindtester

no way

file and directory names with double quotes on Windows
not valid character
ps in theory you can study Fat32 structures and edit.. let's say Acronis DD Suite (well, or whatever you learn). but you will automatically get a filesystem error
if suddenly, wsl allows you to use this symbol inside its file structure, just for the sake of exercise, try to completely copy the wsl filesystem directory to another location (I promise there will be surprises ;))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question