Why this temp read params not find anymore plus some script not open properly

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
goodywp
Posts: 185
Joined: 31 Jul 2017 09:57

Why this temp read params not find anymore plus some script not open properly

#1 Post by goodywp » 28 May 2019 11:08

Hi all,

I just came across this issue, sth. related to system.
Added new related issue.
For certain script, before behavior is whenever double clicking on the file, it shall pop up the screen to do interactive input then the script go on
Now the the above behavior not work as supposed to be. After double clicking on the batch file, the screen very very quickly show up then closed...
It is not working as before....

Code: Select all


:: load parameters from BaseMain.cfg
find /V ";;" BaseMain.cfg | find "=" > __temp_read_params
for /F "tokens=*" %%I in (__temp_read_params) do set %%I
del /Q __temp_read_params >Nul

Basically, it shall read the params from BaseMain.cfg into a temp place somewhere in the system (using Window 10 pro). It works fine always but one day some dell encryption On /Off encrypted some of files in the system. My tech support to remove that and almost recover everything. But the above script not working,
onetime complain
find /V ";;" not exist after the tech support did sth.
onetime complain
the system can not find the file specified

any clue on this....or how to recover...?

Just got another script issue.

Does anybody have such issue before and what is the solution?

Thanks
Last edited by goodywp on 31 May 2019 10:57, edited 6 times in total.

ShadowThief
Expert
Posts: 891
Joined: 06 Sep 2013 21:28
Location: Virginia, United States

Re: Why this remp read params not find anymore

#2 Post by ShadowThief » 28 May 2019 19:47

BaseMain.cfg (whatever that is) seems to have been deleted

goodywp
Posts: 185
Joined: 31 Jul 2017 09:57

Re: Why this remp read params not find anymore

#3 Post by goodywp » 29 May 2019 07:19

ShadowThief wrote:
28 May 2019 19:47
BaseMain.cfg (whatever that is) seems to have been deleted
Thanks for your reply! Yes I was thinking that way but checked that the file was there...

Post Reply