Příspěvek: 1
• Stránka 1 z 1
I hate windows console rename command in a shell
Hello,
I was shelling out to the console via system () in process.h and I bumped into this problem.
I guess they made it like that on purpose to minimize damage from a rouge app renaming files.
I guess I have to think like a virus writer. I got around the problem by using copy and then the user has a decision to erase the files.
I'll have to tranverse a tree and get all the files in that directory for local renaming uninstead a full path like the copy command can.
I didn't find the right solution from the internet.
References:
https://www.bleepingcomputer.com/forums ... n-a-shell/
Professional 3D Animation Studio
I was shelling out to the console via system () in process.h and I bumped into this problem.
I guess they made it like that on purpose to minimize damage from a rouge app renaming files.
I guess I have to think like a virus writer. I got around the problem by using copy and then the user has a decision to erase the files.
I'll have to tranverse a tree and get all the files in that directory for local renaming uninstead a full path like the copy command can.
I didn't find the right solution from the internet.
References:
https://www.bleepingcomputer.com/forums ... n-a-shell/
Professional 3D Animation Studio
- markblake
- Kolemjdoucí
- Příspěvky: 4
- Registrován: 14 čer 2017, 08:32
I hate windows console rename command in a shell
A uz jsi vyzkousel treba tohle?
-
Rumcajz - Patriot
- Příspěvky: 97323
- Registrován: sob 29.led 1999 0:11:22
Příspěvek: 1
• Stránka 1 z 1
Kdo je online
Uživatelé procházející toto fórum: Žádní registrovaní uživatelé a 0 návštevníků