Can't open bat file to run forge

Running a bat file to use more ram in forge. Always worked on my win 7 system Now using win 10 and all i get is a brief flash of the command prompt, but forge won't open. tried running as admin and the text format is also correct. Any ideas?