Procedure to Encrypt SQL Server DTSRUN Parameters
Example:
Batch file: test01.bat contains
DTSRUN /s biwgdcsql02 /u test01 /p goodby /n dts_test01
Example:
Batch file: test01.bat now contains
DTSRUN /s biwgdcsql02 /u test01 /p goodby /n dts_test01 /!y
This will put the results of the DTSRUN to file text.txt
Example: c>test01 > text.txt
Example
Text.txt file:
D:\mystuff\DOCS\SQL Server\Bat>dtsrun /s biwgdcsql01 /u test01 /p goodby /n dts_test01 /!y
DTSRun /~S 0x928F677DDD81FD0250CE162775417004D46FB7187384F1B7 /~U 0x61E3505D4C6A2496D5220748798FD9CC /~P 0xEBB63BFB2DA7637633434425CA5C22A0 /~N 0x5E4F2014862B0FFB4671509860E1217D68005C6C8D08A884 /!Y