I have a off the wall request, does anyone know of a method to compress a given set of files on a windows box, without having an app to do so. I know how to make this happen on a Unix box, but not windows. Also I can not install any 3rd party apps on the box.
Thanks in advance,
Ati2ude
I have the following line:
set savefile_list [glob -nocomplain -tails -directory $process_dir *.idx]
when executed I get:
Error: bad option "-tails": must be -directory, -join, -nocomplain, -path, -type
s, or --
while executing
"glob -nocomplain -tails -directory $process_dir *.idx"
Am I...
Hi all,
I have tried this several ways and can not seem to get what I am looking for. What I want to do is create a list of sub directories under a specified directory. I will then iterate thru each of them, looking for specific files.
Here is what I have tried.
set processdir [concat...
Anyone every heard of this command? If so do you have any documentation on it. I came across it in use in our environment and can't seem to find any info on the use of it.
Thanks in advance,
Ati2ude
I am new to Perl and am trying to modify a script. What I have is an if statement that is checking for a single condition like so:
if {$filename ne ".txt"} {$merr=1;$e2=1;}
What I would like to do is something like this:
if {$filename ne ".txt"} || {$filename ne ".TXT"} {$merr=1;$e2=1;}...
I would like to parse this string into mulitple strings or a list.
set string "MYSTRINGTOPARSE"
first = "MY"
second = "STRING"
third = "TO"
fourth = "PARSE"
etc...
Any pointers would be great, as always thanks in advance.
Brian
I am dealing with a date in the follwoing format "YYYYMMDDHHmmss". Does anyone know of a way that I can get the CLOCK function to recognize that format and convert the date to seconds? Here is what I have tried.
set fmat {%Y%m%d%%H%M%S}
set msgTime [clock format $pv1_45 -format $fmat ]
set...
I am trying to create an e-mail with an attachment during a cron job. My only option is sendmail, so that makes it more difficult. Below is the code I am using, the error I am getting is:
Error Text:
syntax error at line 251 : `<<' unmatched
Line 251 is the cat command, I am not sure what I...
I am trying to do something with KSH that I am not sure will work. I want to determine if a file is zero byte, if not attach it to an e-mail and send it to myself.
I have used the sendmail prog before but not in this depth.
Example of what I have done:
/usr/sbin/sendmail -f$from -t <...
The follwoing code:
#Check if any files are in the error DB
lines=`hcidbdump -e | wc -l`;
echo $lines;
today=`date +%Y%m%d`;
echo $today;
if (( $lines != 8 ))
then
`hcidbdump -e -L >> $today.txt`;
fi
gives me the follwoing error:
db_check.ksh[13]: ^M: not found...
I have been tasked with converting a FoxPro application to MS Access. I was able to convert the database with ease, however the person who originally buil the app did not use any kind keys or normalization to build it. So that has given me some headaches. I have built several forms and am now...
I have been tasked with determing if a given string contains a @ character. If so remove the character and concat the remaining values together to form a new string. I am leaning towards something like this.
regsub -all "\-" $oldstring "" newstring
Is this the best method for handling this...
I am just begining to take a look at .Net and have decided to convert an exsisting app, (VB6) to .Net. However this app uses an ocx component. I have searched MSDN for how to include this component to my project and can't seem to get pointed in the right direction. Can anyone help?
I am trying to write a TCL proc and pass a list of args to the proc when it is called, I am not doing something correctly. I have attached my code example and the error I recieve. Any ideas? Thanks in advance.
How I am calling it:
xlt_parse_field "DELIM - MSG 0 STRNUM 0"...
I am in the process of completing a control that will need to registred by the user. I have created an algorithim that uses several data elements on the machine to create a unique key for each install. I would like to have Wise obtain some of these data elements so that do not have to search for...
Has anyone ever used the MoveFile function to move an entire directory? I can use the function to move a single file at a time, but MSDN states that the function will move an entire directory including children.
Any help would be great!!
Thanks in advance.
Ati2ude
I have written an app that will create a task and in a public folder. However now I would like to assign it to a user to work. But just noticed that on a public task list I do not have the option to assign a task. Anyone ran in to this and solved it before.
Ati2ude
I do not want any dialogs displaying when the user executes the install. I have removed all of them except the Progress Bar. Any assistance getting rid of this guys would be great.
Ati2ude
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.