I want to write a regedit key value which moves a file from one location to some fixed location. Following is the value for it:
cmd.exe /k %1 D:\MyLocation
But what remains after moving file is an opened console. Please suggest a way to do this without having a console.