Ii don't know if this will help, but it happens all the time here.  People 
try to launch applications without having all their drives 'mapped'
Look in Windows Explorer and see if U: exists.  It the map to U: got lost 
(disconnected) any reference to it won't work.
It didn't look like your code mapped it on the fly.

Just a thought.


Michael Powers

State of Hawaii
Department of Land and Natural Resources
Information Technology Services Office
Division of Boating and Ocean Recreation
333 Queen Street, Suite 300
Honolulu, HI  96813

tel:  (808) 587-0394
fax: (808) 587-1977
email: [email protected]

CONFIDENTIALITY NOTICE:  This information and any attachments are intended 
only for the use of the individual or entity to which it is addressed, and 
may contain information that is privileged and/or confidential.  If the 
reader of this message is not the intended recipient, any dissemination, 
distribution or copying of this communication is strictly prohibited and 
may be punishable under state and federal law.  If you have received this 
communication and/or attachments in error, please notify the sender via 
e-mail immediately and destroy all electronic and paper copies.



From:   "Michael J. Sinclair" <[email protected]>
To:     [email protected] (RBASE-L Mailing List), 
Date:   07/17/2015 04:03 AM
Subject:        [RBASE-L] - Code quit working
Sent by:        [email protected]



Hi all,
The following code was working perfectly, 2 days ago after a windows 
update, it stopped working. The error message is...

Can not find the U:\note.txt file

Strange, it works when I trace it.

--offnote.cmd
SET VAR vpnum REAL
IF vpnum IS NULL OR vpnum = 0 THEN
  GOTO END
ENDIF
SET HEADINGS OFF
DROP TABLE offnotes_dup
PROJECT TEMPORARY offnotes_dup FROM offnotes USING * +
WHERE patnumbr = .vpnum
UPDATE offnotes_dup SET dictdata = +
'############################################################################' 
+
WHERE dictdata = 'DICTATED BUT NOT READ TO EXPEDITE FILING'
OUTPUT u:\note.txt
SELECT dictdata FROM offnotes_dup +
WHERE patnumbr = .vpnum ORDER BY rdate_=D linenum=A
OUTPUT SCREEN
LAUNCH u:\note.txt
ERASE u:\note.txt
LABEL END
RETURN

What am I doing wrong?

Reply via email to