I hava a prooject that uses ShellExecuteInfo and it works fine as log as you don't want to change the name of the file.
SHELLEXECUTEINFO fei;
fei.cbSize=sizeof(SHELLEXECUTEINFO);
fei.fMask=SEE_MASK_NOCLOSEPROCESS;
fei.hwnd=GetDesktopWindow();
fei.lpVerb="Open";
fei.lpFile="C:\\Program Files\\WinZip\\wzzip.exe";
fei.lpParameters="-a+ -r -P -whs -x@nobackup.txt C:\\Progra~1\\DIR\\DIR\\Data\\ful.zip @backup.txt";
fei.lpDirectory="C:\\Program Files\\Patches\\GLB\0";
fei.nShow=SW_HIDE;
fei.hProcess;
I would like to be able to replace the "C:\\Progra~1\\DIR\\DIR\\Data\\ful.zip" with a variable newName that takes information from a user.
Thank you for any help
Nirliq