and one more thing is there any way to encrypt password for e.g. when we run connect.cmd it prompt for connection name user name password and then 1. press 1 to save info
2. press 2 not to save info
and save this info into info.ini with encrypted password.
Search found 4 matches
- 30 Sep 2009 08:07
- Forum: DOS Batch Forum
- Topic: how to link batch file with .ini or .txt
- Replies: 5
- Views: 7071
- 30 Sep 2009 08:01
- Forum: DOS Batch Forum
- Topic: how to link batch file with .ini or .txt
- Replies: 5
- Views: 7071
- 25 Sep 2009 10:34
- Forum: DOS Batch Forum
- Topic: how to link batch file with .ini or .txt
- Replies: 5
- Views: 7071
Easiest thing to do is set the INI file as just another CMD file and call it: info.cmd Set RAS_con=connection Set RAS_usr=user Set RAS_pwd=password connect.cmd @echo off call info.cmd :online_check . . . . If you insist on using an extension of INI then you can do this: info.ini Set RAS_con=connect...
- 14 Sep 2009 11:25
- Forum: DOS Batch Forum
- Topic: how to link batch file with .ini or .txt
- Replies: 5
- Views: 7071
how to link batch file with .ini or .txt
i have following batch file connect.bat @Echo Off SetLocal (Set RAS_con=connection) (Set RAS_usr=user) (Set RAS_pwd=password) :Online_check Rasdial | Find /V /N "" | FindStr /R "^\[3\]" && ( Echo %DATE% %TIME% -- Still online. Delaying 60s... Ping -n 61 localhost > NUL Go...