Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Ati2ude

    Compressing a set of files

    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
  2. Ati2ude

    Glob with -tail arg question

    Thanks, that was the issue, in case anyone needs a work around here it is. set savefile_list [glob -nocomplain -directory $process_dir *.* -types f] set file_name [file tail $savefile] Thanks for your help. Ati2ude
  3. Ati2ude

    Glob with -tail arg question

    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...
  4. Ati2ude

    Problems creating a list of directories on windows

    Never mind I see what you are saying. Let me play with this a few. Thanks for the quick reply. Ati2ude
  5. Ati2ude

    Problems creating a list of directories on windows

    Will the glob command give me a listing of sub-directories only? I need the sub-dirs first. Ati2ude
  6. Ati2ude

    Problems creating a list of directories on windows

    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...
  7. Ati2ude

    Running a VBScript from the Windows Scheduler?

    Barny Do you have any with ARGS? i.e.. myscript.vbs arg1 arg2 etc...
  8. Ati2ude

    Running a VBScript from the Windows Scheduler?

    I am having problems making the script execute at all. Do I need to call the wscript.exe before calling my script? i.e.. c:\windows\system32\wscript.exe myscript.vbs Thanks
  9. Ati2ude

    Running a VBScript from the Windows Scheduler?

    Has anyone ever had to run a VBS from the Windows Scheduler? If so can you give some pointers? Thanks in advance, Ati2ude
  10. Ati2ude

    extexpfilter

    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
  11. Ati2ude

    Can I use an Or in an if Statement?

    I am testing your first example currently, Thanks for the pointers. I do not claim to know perl but must support a few scripts to survive. Thanks for the help, I will let you know the outcome. Brian
  12. Ati2ude

    Can I use an Or in an if Statement?

    Thanks for the quick reply! I did make the changes you suggested, but have one another question. Do I leave spaces between the pipes and the rest of the statement? I have pasted the actual code below for your review. if ($ckfilename ne ".edi")||($ckfilename ne ".EDI") { ($merr=1;$e2=1;) }...
  13. Ati2ude

    Can I use an Or in an if Statement?

    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;}...
  14. Ati2ude

    Converting a Date and Time something useable.

    I utilized your suggestion and am now getting the result I am looking for. Thanks again for your assistance here. TCL is not my primary language so I end up stomping my way through the language and often over look built in functions that would make my life easier. Brian
  15. Ati2ude

    Converting a Date and Time something useable.

    Here is what I have thus far, I am sure it can be cleaned up greatly if I knew some function to handle my string date. Thanks again BONG for any pointers. #now that we know the date is not null and the message #qualifies to be here we need to do some work on the #date we have in the message...
  16. Ati2ude

    Converting a Date and Time something useable.

    I have a pipe delimited string that contains the value in field 45. So the variable pv1_45 is set using this statement: set pv1_45 [lindex $pv1_fields 45] the current value is 20050610114002 YYYYMMDDHHMMSS Thanks in advance for any pointers. Brian
  17. Ati2ude

    Parsing a string based on lengths??

    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
  18. Ati2ude

    Converting a Date and Time something useable.

    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...
  19. Ati2ude

    Cat Command Syntax Issue

    It was a typo, had to look at the code to make sure. So the EOF does not need a ";" after that line??? Just want to make sure I get that correct. Thanks again for all of your help. Brian
  20. Ati2ude

    Cat Command Syntax Issue

    Thanks, I am now getting the following error: ./cycle_mdreport.ksh[248]: syntax error at line 251 : `<<' unmatched I have tried to adjust spacing of the cat statement, hoping that is what you meant Ken, if not a little more guidance would help. Brian

Part and Inventory Search

Back
Top