Cannot find this file. Please verify ...
Results 1 to 2 of 2

Thread: Cannot find this file. Please verify ...

  1. #1
    Registered User JeffO93's Avatar
    Join Date
    Sep 2002
    Location
    Denver
    Posts
    134

    Cannot find this file. Please verify ...

    Problem:
    I right-clicked in a folder (D:\My Programming\VB\source code) and created a new RTF document, but when I double-clicked the file to open it, I got this error:
    (D:\My ) Cannot find this file. Please verify that the correct path and file name are given.
    How can Windows not find it? I double-clicked right on it! What's to find? It's right there!

    I went here to see if I could find something wrong:
    HKEY_CLASSES_ROOT\rtffile\shell\open\command
    "C:\Program Files\Windows NT\Accessories\WORDPAD.EXE" %1

    But everything looked fine.

    Solution:
    The normal DOS way of correcting this type of error is to put quotes around your long-name paths and files. So I changed the above open command to:
    "C:\Program Files\Windows NT\Accessories\WORDPAD.EXE" "%1"
    (Qoutes around the %1)
    This shouldn't be necessary in Windows XP, but it fixed it.
    I was able to open long-filename path documents again.
    But when I removed the quotes to see if it would break things again, everything was still fine.
    Go figure. Whatever was broken was fixed and I didn't have to leave the edits in place.
    This could come in handy for anyone who sees this type of error with any document type. Nearly every document type has a regkey named after the extension (txtfile, jpegfile, etc.). Look at the open command for the one you're having trouble with.

  2. #2
    Registered User shamus's Avatar
    Join Date
    Apr 2001
    Location
    Cornish,Maine,USA
    Posts
    3,140
    sweet...
    into my box of fixes ...

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •