bman Posted September 14, 2006 Posted September 14, 2006 I have a place in my script where occasionally the send command sends a semicolon ; instead of a colon : or sometimes it sends a | instead of a backslash \. It doesnt occur all the time but only very very randomly and I am wondering if anyone else has run into a similar issue. The line of code looks like this: Send($WOfileloc & "WO" & $conoptions[1] & "\reviewed\" & $conoptions[2] & "\" & $PWOFilename[1] & "-e.pdf{ENTER}") The place that gets messed up is in the WOFileloc variable and it is defined like so: $WOfileloc = "H:\ENGLISH\Work Orders\" so sometimes it sends "H;\ENGLISH\Work Orders\" or "H:|ENGLISH\Work Orders\"
blademonkey Posted September 14, 2006 Posted September 14, 2006 can you post the full script? It may have something to do with how you're assigning the values to the variables. -B ---"Educate the Mind, Make Savage the Body" -Mao Tse Tung
bman Posted September 14, 2006 Author Posted September 14, 2006 (edited) can you post the full script? It may have something to do with how you're assigning the values to the variables.-Bwell the full script is 719 lines long... and on top of that my boss would rather me not post the full script on the net.-editalso, i have found that in my script I have a few places where I use ControlSend() instead of just Send()... so I am going to start documenting when the error occurs and see if it is happening in one place and not the other. Edited September 14, 2006 by bman
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now