Hi guys, I am attempting to write a script that will call a rar command and inject the foldername into the command line, basically the folder structure looks like this;
FolderName
- filename.txt
I need to perform this command
rar a 'Foldername'.rar *.txt
delete *.txt
Having a problem figuring out how to inject that foldername into the commandline. Thank you.
FolderName
- filename.txt
I need to perform this command
rar a 'Foldername'.rar *.txt
delete *.txt
Having a problem figuring out how to inject that foldername into the commandline. Thank you.