Func ShortC() $Path = Inputbox( "File Path", "Please enter path of file" , "Path" , "" , -1, 75, -1,-1 ) FileWriteLine("ShortCut.dat", $Path) $File = Inputbox( "File", "Please enter filename" , "File" , "" , -1, 75, -1,-1 ) FileWriteLine("ShortCut.dat", $File) EndFunc Func F6() $Path = FileReadLine("ShortCut.dat", 1) $File = FileReadLine("ShortCut.dat", 2) Run($File, $Path, @SW_MAXIMIZE) EndFunc
The run command doesn't like to to read the variables, what can i do??




