Hi,
We use Visual Source Safe (in windows )as a configuration management tool apart from pvcs in Unix.
I have a perl script which generates reports based on many criterias ( eg. label name ) by reading the history details from VSS command line tools.
Before proceeding with the perl script, it is required to set up some environment variables in order to run the VSS Commands. So I have a DOS batch script which inturn calls the perl script which runs after setting the environment variable.
Well, that being said, these scripts have been running very well from the command line.
A new requirement is that to put all these functionality in a web-page. After I get the values from the user say database and labelname, I pass it to the batch using the system command in the cgi script.
The problem I face here is the batch file does not run as it does in the command line, and moreover, it does not take the values I pass from the html.
Here's the batch command.
REM %1 - is the Database path.
REM %2 - Label name
REM Setting the VSS Database to the path where the srcsafe.ini file is
+ located.
set SSDIR=%1
vssreport.pl %1 %2
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.