Reputation: 43
I want to create a batch file . when i execute the batch file i want environmental variable to be set and keep the command prompt to be running as shown in the image
Upvotes: 0
Views: 71
Reputation: 57322
try this:
::@echo off
set TestModule=Actual
@for %%x in (%cmdcmdline%) do @if /i "%%~x"=="/c" @cmd /k
Upvotes: 1