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 Shaun E 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: *

  • Users: Volkmaniac
  • Content: Threads
  • Order by date
  1. Volkmaniac

    CHANGE DEFAULT INTERNET EXPLORER DOWNLOAD PAGE

    I'm trying to automate running scripts at night but I don't know how to change the default internet explorer download directory. Is there a way I can do this from the command line? I tried the following and it didn't work: REGFIND -b \HKEY_CURRENT_USER\Software\Microsoft\Internet...
  2. Volkmaniac

    Download from Internet

    Is there a way I can specify the path I save a file to if I download the file from an internet site? For instance, if you download a program off the internet you'll get the "Save As" prompt and it will usually default to the last directory that you saved a file. Is there a way you can change the...
  3. Volkmaniac

    TAB DELIMIT COLUMS?

    I took a script off http://www.aspectscripting.com that inserts a tab delimit at the end of every line: proc main string sLine, sTemp1, sTemp2, sTemp3 fopen 0 "C:\XXX_031204.txt" READ TEXT while not feof 0 fgets 0 sLine strtok sTemp1 sLine "`t" 1 strtok sTemp2 sLine "`t" 1 strtok sTemp3 sLine...
  4. Volkmaniac

    QUESTION WITH LOOPS

    I'm trying to run a script that calculates the current date, loops through, and then decrements the date by one month on every pass. I think I'm having a problem with one of the two loops because the statmsg will show that the month is decreasing but my strings sDate and sDate2 are not changing...
  5. Volkmaniac

    QUESTION WITH RGETS

    I was able to grab a number off the terminal screen and place it into Excel using the following: proc main set aspect rgetchar 13 transmit "GET-LIST JV_TODAY^M" rget sLine set aspect rgetchar 32 STRIP rget sLinea strreplace sLinea "`r" "" strreplace sLinea "`n" "" strtonum sLinea Number...
  6. Volkmaniac

    Case Handling Question

    Hello, I borrowed a date script taken off of www.aspectscripting.com. This is a great script for date handling. I currently have the script grabbing everything from the previous month (02/01/04 to 02/29/04). I'd like the user to enter whichever month they'd like to run. Is there a way I can...
  7. Volkmaniac

    FROM TERMINAL TO EXCEL

    Has anyone successfully written a script that grabs information off the terminal screen and places it into an Excel spreadsheet? I'd like to use rget to save numbers into strings and then I'd like to poke those numbers into Excel. Most of the examples I've seen have been from a text file to...
  8. Volkmaniac

    EDI MAPPING

    Has anyone ever tried to write a script to do EDI mapping? I attempted to output and parse some records but the looping structure makes it difficult. ISA|00| |00| |ZZ|USCR USCR004 |ZZ|XXXXXXXXX |040302|1932|U|00306|001149551|0|P|~ GS|FC|USCR...
  9. Volkmaniac

    ANSI X12

    Is there a way you could sequentially join ANSI X12 EDI files using Unix or DOS? We're about to start processing form 175's and I'd like to try and join multiple files we receive.
  10. Volkmaniac

    QUESTION WITH RGET

    I've been stealing some of the rget samples from this site. I was wondering if it's possible to grab the line above/below what you're using as the waitfor. For instance: if waitfor " TOTAL BAL" TOT BAL 985521.57 Is there anyway I can grab that number using rget even if it's...
  11. Volkmaniac

    PGP Encryption

    Does anyone know a way you could use a command line to do PGP encryption for FTP purposes?
  12. Volkmaniac

    File pointer or pointer positioning

    Knob showed me a way I could count occurrences of an item within a text file: fopen 1 fname read text While not feof 1 fgets 01 sLine If strncmp sLine "CCXXXX" 6 A++ else If strncmp sLine "CCXXA" 5 B++ else If strncmp sLine "CCXB" 4 C++ else Now I'd like...
  13. Volkmaniac

    UNZIP

    Doeas anyone have an example of an unzip script that actually works? I'm using directories with spaces so I'd need the shortpath command. I've tried the unzip from www.aspectscripting.com and it's not working. I tried to modify the zip script and that hasn't worked either.
  14. Volkmaniac

    Problems with Unzip

    I've been using the following code I got from the website for zipping a file. I tried modifying it to do an unzip and I'm not having much luck. I'm assuming that the "-c" in the command line has to be changed to "-o". I've been having trouble getting it to recognize the...
  15. Volkmaniac

    Using strings for changing directories in FTP

    Are you allowed to use strings when you change directories in FTP mode? I've tried using strings but they haven't worked: strfmt sDirectory "S:\Client Services\FASTDATA\%s\snt\RFIIXXX" sDope FTP LOCAL CHDIR sDirectory When that didn't work I tried FTP LOCAL CHDIR "%s&quot...
  16. Volkmaniac

    VIEWING FILE FILAGS IN FTP

    I've come across a problem using ProComm's ftp. I have to grab a file every morning and they have a flag instituted to tell me which file to grab. The flag precedes the file name. I can see the flag when I open Wintelnet but I can only see the filename when I use ProComm. Wintelnet...
  17. Volkmaniac

    DELIMITER

    I've already used several of the delimiters from aspectscripting.com but I'd like to know if you can cut (or delimit) everything before a character. For instance, I'm using a PICK statement that produces the following output. 21805:75766:478890YRTRZ X788900 906.93...
  18. Volkmaniac

    minimize for dialogbox

    I don't really know anything about dialogboxes outside of the few scripts I downloaded from aspectscripting.com. Is there a way to add a minimize button to a dialogbox? I have a dialogbox that's case based and I'd like to be able to minimize the box. dialogbox 0 120 44 195 195 2 "CAPITAL...
  19. Volkmaniac

    STRFIND

    I'm using some code from a countitems script I took off this site. I was wondering if there was a way you can "match exact case" The problem I'm having is that it will count "CAP1" (below) twice because it's counting every instance of the characters. I tried reading the...
  20. Volkmaniac

    FILE IDENTIFIER

    I'm having trouble understanding how to grab and open files using aspect. The following code will recognize and choose the correct file, but it will not open that file when prompted. string fname string FileSpec = "S:\Client...

Part and Inventory Search

Back
Top