@@ START command doesn't allow spaces in folder names

the initial start command:
START 'C:\Database\SQL Files\query.sql'
works, but within the query.sql file i have placed start commands that link other files:
@@ 'Formatting.sql'
When you run the start command, it locates the query file and executes fine, but when it tries to open the Formatting.sql file it seems to consider a space in the foldername as the end of the path, ie:
SP2-0310: unable to open file "C:\Database\SQL.sql"
Are there any ways to make the @@ command allow spaces like the original start command?
thanks for any replies

other than
START 'C:\DATABASE\SQLFIL~1\QUERY'
no
Message was edited by:
Laurent Schneider
get the 8.3 name with DIR /X

Similar Messages

  • SYMLINK won't work with space in folder name

    Using Terminal commands, I can create a SYMLINK for OS folder if there is no space in folder name, such as -
    sudo rm -rf  ~/Library/Mail/
    ln -s /Volumes/Mr._Mac/Mail/ ~/Library/Mail
    But if there is a space in the OS folder name, commands won't work, such as -
    sudo rm -rf  ~/Library/Application Support/AddressBook/
    ln -s /Volumes/Mr._Mac/AddressBook/ ~/Library/Application Support/AddressBook
    Terminal returns the following message -
    ln: Support/AddressBook: No such file or directory
    Is there some sort of symbol that needs to be used instead of a space so that Terminal reads the folder name as one word?
    I've tried % which is used for HTML, but that doesn't work.

    Put the entire path in single quotes or put a \ before each space. If you drag a file or folder from the Finder, it'll automatically supply the correct path.
    (77913)

  • Jar and classpath with space in folder name?

    Hi, all.
    Just for fun: what if I have a jar file that is dependant on the other jar file which is placed in folder with space in its name? How would I link it in manifest file?
    Thanks.

    Havae you tried quoting the Class-Path value?

  • Publishing bug with FTP servers - Spaces at end of file/folder names

    I'm sharing what I've found after lots of troubleshooting with my Mom's iWeb website. I originally came across this in the previous version of iWeb, and have seen it again in the current version.
    For the sake of this example, she had an image gallery on her site. The image file she added to iWeb had a space at the of the filename, just before the file extension, something like "image name .jpg"
    In the old version of iWeb (iWeb 08), we would publish the site to a folder on her computer, and it would generate a folder for each image in the gallery. These folders would hold the original image and thumbnail image. Each folder name was the image's filename, minus the extension. In this example, the folder name was "image name " with a space at the end, which is valid on the Mac OS X file system.
    When we uploaded it to the FTP site (which happened to be GoDaddy) using a 3rd party FTP tool, certain images would always fail to upload. After much testing and troubleshooting with other FTP software, we found that the FTP server did not allow spaces at the end of folder names, and it automatically replaced them with underscores. So, we tried to upload a folder called "image name ", and ended up with one called "image name_". As a result, we couldn't upload any of the files that were supposed to be IN that folder, because it could not be found under it's intended name.
    Fast forward to today, using iWeb 09. Now the software allows you to upload to a 3rd party FTP server, so we've stopped using the other FTP software and do it all in iWeb.
    She added a new image to her gallery and tried to publish changes, and got the error: "There was an error communicating with the FTP server. Try again lager, or check with your service provider"
    Once she removed the image, publishing worked again. It turned out the original image had a space at the end of the filename, just before the extension again. Once this space was removed, everything worked again.
    Hopefully this helps somebody else down the road. If you have trouble with certain files, check them for spaces at the end, just before the extension. Perhaps in a future release, Apple could update the site publishing code to trim leading/trailing spaces from folder names.
    If you've seen this before, or have any further questions/feedback for me, feel free to post a response. Thank you for reading.

    It would be nice if Apple could make their error messages more descriptive of the actual problem so we have a better idea of how to solve it. I am "the mom" who had the problem B2Ben posted about.
    The error message seemed to place blame on the ftp server or my ISP, consequently I wasted a lot of time with these people when it wasn't even remotely their fault.
    As with most computer problems, I ended up learning a lot from it and it always helps with gaining confidence. This is my 20th year as a Mac user!.. yes, since 1989. I look forward to seeing what some of you have experienced with this same issue.
    iMac GHZ PowerPC G$ Mac OS X (10.5.7)

  • Application name allows spaces == compiler errors.

    Hi,
    Love the idea of the LaunchPad. Great way to see working code examples for all the top mobile APIs. I noticed when I created my application the Application name allowed spaces in the name. Once I imported the app into Flash Builder 4 Burrito, it threw a number of errors due to a space in the class name(s). It took a while to find all of the places where the spaces needed to be removed.
    I think it would great to have LaunchPad allow spaces in the name, but then know when to replace the spaces with underscores _ for the package and class names. This way we can keep the application name with spaces for things like the app name listed on the device, but then ensure that there are no spaces where it will throw compilation errors.
    Thanks,
    iBrent

    Thanks for the feedback Brent! I see what you're reporting, thanks for letting me know. I recently changed the way that works to use the app name for all the file names, previously it was created with the name Main.mxml so that was not an issue. I'll consider replacing the spaces with underscores as you suggested. Thanks much! Holly

  • My MacPro says the startup disk is too full.  I have 4 internal hard drives that have 2T each so there is plenty of space, but all start up programs, libraries, iTunes and application folder are on the '1st' hard drive. Can I move any to 2nd drive?

    My MacPro says the startup disk is too full.  I have 4 internal hard drives that have 2T each so there is plenty of space, but all start up programs, libraries, iTunes and application folder are on the '1st' hard drive. Can I move any to 2nd drive?

    Your system will likely fit just fine on a small fast 250GB SSD
    What you have is lots of stuff that should not be on the boot drive, data and graphics or media files and libraries that should be moved to another drive.
    If you are getting a message like this, STOP, off load files, make room, and make sure to have 15% free or more.
    Do not try to move anything from system and its library and sub folders. Move your home user account and just leave the essential home library but move all the rest.
    A full drive can have trouble finding free space segments and writing out updates to files and to the directory. And loss of directory means loss of where files are located and their segments.

  • I have a few desktop icons that won't allow me to move them to trash or relocate them on desktop.  A PDF, a DOCX and a PART.  Not locked under get info or get info command doesn't work. Suggestions?

    I have a few desktop icons that won't allow me to move them to trash or relocate them on desktop.  A PDF, a DOCX and a PART.  Not locked under get info or get info command doesn't work. Suggestions?

    This any help?
    http://support.apple.com/kb/HT1526

  • Bridge doesn't allow me to turn on color management

    Any idea why Bridge doesn't allow me to edit/turn on color management? When I go to Edit>Creative Suite Color Settings I just get an error. Says I must launch at least one qualifying CS product. As I have Dreamweaver CS5.5 and PS CS5 running I never know what the issue is. Any ideas? Adobe help is useless on this.

    If that is the case, Adobe needs to do a better job in how the settings function. For example, instead of just getting an error message with a confusing statement, the message would provide further clarification and also solutions. The message says one needs to have at least one program running to set up color management. It doesn't say one entire color suite. But thanks so much for responding to my questions.
    A bit of the problem is that writing a manual and a help file is not that easy at all. But when it comes to complicated applications like PS and combined with other applications it really is a difficult task. I'm not saying Adobe succeeds clearly in this task because it is not easy to find your way in the new help files but with a bit effort you will soon explore there is a lot of information about understanding color in the PS on line manual (use the menu help / Photoshop Help and your browser shows a page from product support. Top right above there is the option to download the PDF manual.  And in the provided list on your browser window you see also the option for Creative Suite, click on it and you will see a complete chapter about Color Management.
    While I know a bit of this subject I'm certainly no expert. It is a complex matter but the basics are not that difficult and the result of your learning effort will pay it self back
    Another issue I have noticed is that Bridge does not do a good job at updating thumbnails. I frequently have to hit F5 to refresh when this should happen automatically. I use a Windows 7 machine and perhaps all of this works better on Macs - I don't know.
    That should not be needed on either Mac or Windows. While no knowledge of Windows at all to me it seems related to a cache problem. First point Bridge to the folder that gives you this problem and then choose the menu Tools/ cache / purge cache for folder. See if this gives better results. If so and you have other folders with same problem use the option to purge the entire cache and have a fresh start. You need a bit of time because all thumbs and previews have to rebuild.

  • Mavericks doesn't appear in application folder, how can I get it there?

    Mavericks doesn't appear in application folder, how can I get it there?
    It is downloaded. I can see it in Launchpad, when I click on it will open en start the installation, but that's not what I want, I want to have the program in the application folder. I hope someone knows how?

    Click the installer in Launchbar so it opens, don't proceed with the installation!
    Look in your Dock for the installers Application icon.
    Command+Click this icon in the Dock
    A Finder window should appear with the installer selected, you can 'Get Info' on that item to see the full file path to work out where it is, or enable the 'Path bar' in Finder's view menu, that also shows the folder path to the selected item.
    If you are hoping to install 10.9 on another Mac you may find it is best to create a bootable installer on a USB disk…
    http://diskmakerx.com/
    Or use Apple's instructions…
    Create a bootable installer for OS X Mavericks or Yosemite - Apple Support

  • Aperture 3.2.4 macbookpro lion: image disappears after loading from any project; repairing everything on starting app doesn't fix it. Only restarting the computer works. Any help, please? ... in non-technical language please. Thanks

    aperture 3.2.4, macbookpro lion: image disappears after loading from any project; repairing everything on starting app doesn't fix it. Only restarting the computer works. Any help, please? ... in non-technical language please. Thanks

    “Hi Kirby, thanks a lot for your answer.
    I got one answer, from DMoore, saying:
    “Try Safe boot and then restart with only Aperture open.  Still doent work write back with more details like Ram, HD capacity/free space.  Are these thumbnails or Previews? Have you turned off building previews in AP preferances?
    Safe boot   http://support.apple.com/kb/HT1564
    Starting up into Safe Mode does several things:
    1  It forces a directory check of the startup volume.
    2  It loads only required kernel extensions (some of the items in /System/Library/Extensions).
    3  In Mac OS X v10.3.9 or earlier, Safe Mode runs only Apple-installed startup items (such items may be installed either in /Library/StartupItems or in /System/Library/StartupItems; these are different than user-selected account login items).
    4  It disables all fonts other than those in /System/Library/Fonts (Mac OS X v10.4 or later).
    5  It moves to the Trash all font caches normally stored in /Library/Caches/com.apple.ATS/(uid)/ , where (uid) is a user ID number such as 501 (Mac OS X v10.4 or later).
    6  It disables all startup items and login items (Mac OS X v10.4 or later).
    7  Mac OS X v10.5.6 or later: A Safe Boot deletes the dynamic loader shared cache at (/var/db/dyld/). A cache with issues may cause a blue screen on startup, particularly after a Software Update. Restarting normally recreates this cache.”
    As I don’t know much about the technical aspects of computers, I don’t really understand the first answer, and it sounds like following it might produce unwanted changes.
    But I understand your questions, so I’ll try to answer them;
    "loading from any Project" means that I encounter the problem when I’m using a project, possibly after/because I’ve left the Mac on overnight, and/or  I’ve made a lot of adjustments, and, once the problem is there, it happens in any other project which I open – the images load then disappear.
    I can see images in the Browser, so it only happens in the Viewer(s).
    I’m afraid I don’t understand what you mean by: “If you select "Photos" from near the top of the Library tab of the Inspector, does it show you all of your Images?”. I am a newcomer to Aperture, so I don’t know what some of the buttons are for yet, but when I want to look at and adjust my pictures, I import them, as referenced images, then Aperture creates a folder/project in the Library. When I click on that Project (when it’s working properly), all the images appear in the Browser or the Viewers  – without me needing to “select Photos from near the top of the Library tab of the Inspector”. I selected it and looked at all the items in the dropdown menu, but none of them seems to offer the option to ‘show all the images’. So I’m not sure how to answer your question except to say that – yes, I can see all the pictures in the Browser or the Viewers (when it’s working properly), but I don’t seem to need to use the Photos button to achieve this.
    Did Aperture work before?
    Yes it worked ok for a while, but I only purchased it on 24th May.
    If I understand correctly, the difference between thumbnail and preview is that the thumbnail is what I see when the “Loading” wheel is turning, and the disappearance of this wheel after a few seconds means that I am now looking at the preview (also, the thumbnail cannot be adjusted).
    So I think the problem occurs when the thumbnail has finished loading; the viewer going blank/grey might mean that it is not showing the preview.
    But I have not changed the default Preview settings in Aperture Preferences.
    My macbookpro details:
    2.7 Ghz Intel Core i7
    Memory: 8 Gb 1333 MHz DDR3
    Hard Drive capacity 499.25 GB
    Available 387.36 GB
    I have noticed another problem: I cannot apply the same rating to multiple images: following the instructions, I select a group of contiguous (or non- contiguous) images, choose a selection eg “5stars” using the keyboard, but the stars only appear in the last selected image – even though all the images are still showing as selected.”
    I hope this helps you to understand more.
    Thank you for trying to help me.
    Tony

  • Problem in executing jar when the folder name has empty space

    Hi,
    I need to run my java swing application on double clicking the jar file. It works fine when the file path has no empty spaces in the folder name. It doesnt open when the folder name has spaces in between them. Can anyone let me know how to resolve it.
    String workingDir = new File("SwingApplication").getAbsolutePath();
    String cmd = "java -jar " ++workingDir ++"/SwingApplication.jar";
    Runtime.getRuntime().exec(cmd);This works fine when the SwingApplication.jar is inside for eg: c://{color:#ff0000}RunApplication{color}/SwingApplication.jar
    but the application doesnt open if the file path is c://{color:#0000ff}Run Application{color}/SwingApplication.jar

    javaquests wrote:
    ..ProcessBuilder pb = new ProcessBuilder("java -jar");
    pb.directory(new File(workingDirPath + "/SwingApplication.jar"));
    Process p = pb.start();
    . but getting an exception
    java.io.IOException: Cannot run program "java -jar" (in directory "C:\Run Application\SwingApplication.jar"): CreateProcess error=267, The directory name is invalidWhile..
    C:\Run Application\..might be a directory, is..
    C:\Run Application\SwingApplication.jar?
    I was thinking something more like this (untested)..
    String path = workingDirPath + "/SwingApplication.jar";
    String[] command = {
         "java",
         "-jar",
         path
    ProcessBuilder pb = new ProcessBuilder(command);
    Process p = pb.start();BTW - when posting code, code snippets, HTML/XML or input/output, please use the code tags. The code tags protect the indentation anf formatting of the sample. To use the code tags, select the sample and click the CODE button.

  • My iphoto doesn't allow to share the photos to facebook anymore. (publish button doesn't work) does anyone knows what is wrong?

    my iphoto doesn't allow to share the photos '09 (8.1.2)  to facebook anymore. publish button doesn' work. (it used to be OK) anyone has any idea?

    There are a couple of things that could be causing this. Try:
    delete your iPhoto cache
    hold down the option key
    in the Go menu in the Finder, scroll down to Library
    in Library, find Containers/com.apple.iPhoto/Data/Library/Caches/com.apple.iPhotoin that folder, find Cache.db and drag it to the trash.
    delete the iPhoto preference file
    do the same trick with the option key to show ~/Library
    in Library/Preferences, find com.apple.iPhoto.plist, and drag it to the trash
    if there are multiples of any of these files, drag them to the trash too.
    delete the Keychain entries and do Keychain First Aid
    in Applications > Utilities > Keychain Access
    in the column on the left select login and under category, Passwords
    delete all of the entries that include iPhoto or Facebook
    in the Keychain Access menu, scroll down to Keychain First Aid, enter your user password, select repair, and click start.
    Then restart your computer
    new caches and preference files will be generated
    you will need to reenter your iPhoto preferences
    reenter your facebook user name and password in iPhoto
    this should fix it.
    Message was edited by: arthur

  • Pages 5 Document Endnotes doesn't allow text continuation onto next page?

    For large blocks of endnote citations, Pages 5 doesn't all the text to flow down to the end of the page before going to the next. Rather it treats the endnote text area as its own section, thereby moving the entire text box to the next page. This is problematic from a formatting standpoint because it wastes page space, does anyone have a workaround or suggestions?
    Example:
    Citation 5 is long but I would like to keep it on the same page as Citation 4 and just let the text continue onto the next page. However Pages 5 doesn't allow me to adjust the endnote text box and just jumps to the next page. Rarely do you see endnotes arranged in this manner in high-level research reports and we can't have this.

    I exported a PDF from Pages v5.2.2. This uses Apple's Quartz PDFContext, not Quark.
    In Windows 7, I opened this PDF with Adobe Acrobat Reader v11.0.09. I then copied/pasted a paragraph of this PDF content into LibreOffice Writer (v4.3.2.2). Since there was Baskerville in Windows 7, this comment pasted correctly including font-size. I did not have to make any adjustments to LO to accept this text.
    On Ubuntu Linux 14.04, with the latest updates, I opened the same PDF in Evince, the default PDF viewer. Adobe does not offer an Acrobat Reader download for Linux. Again, I copied and pasted a paragraph of content from the PDF viewer into LibreOffice Writer. As there was no Baskerville installed, Writer defaulted to the Liberation font, at the correct point size.
    In either of these platform scenarios, there were no anomalies with sentence/paragraph newlines .vs. carriage return issues from the PDF document during copy/paste operations. These were default control-v pastes that did not use the Paste Special menu item in LibreOffice.

  • Trying to change the country from my apple account!!!and doesn't allow me to!

    Hello, i'm trying to change the country of my apple account to get in to the istore online from my country and the system doesn't allow me to. It says that i have to buy something for $0.43 that i have on my account but i've never buy or anything b4.help!
    I don0t know how but when i entered the first time to Apple ID, i've already had an account... and i've never created one!
    Just was created with my same hotmail account and i am using it since then..... (4 or 3 years ago).
    This account is from US.
    But each time that i try to change to a peruvian account to enter itunes.... and maybe get a purchaise... it says that i am not allowed!!!
    And i want to cancel the money i have in the "ghost account" that i've never purchaise... and set a new one with $0.00 !!! to start to used it....!!!!
    Please give me a solution right away!
    Best regards.
    Rosa Elena

    Click here and ask the iTunes Store staff to zero your account balance.
    (99669)

  • Trouble with calculating fields. Can't select (check) fields. Also can't figure out what's wrong with a division field (percent) that I created. Keep getting the pop up that format of the field doesn't allow blah blah blah... Help!

    Trouble with calculating fields. Can't select (check) fields. Also can't figure out what's wrong with a division field (percent) that I created. Keep getting the pop up that format of the field doesn't allow blah blah blah... Help!

    1. Use the mouse to select the field and then press the space bar.
    2. A null string is the same as zero. What is the result for division by zero?

Maybe you are looking for

  • How to access a file in Unix server from windows using java

    I want to access a file in unix server from windows using java program. I have the following code. I am able to open the url in a web browser. String urlStr="ftp:user:passwd@unix-server:ftp-port//javatest/test.csv;type=i"; URL url = new URL(urlStr);

  • Standard available capacity Vs actual capacity used in W/C

    Hi Gurus Can some tell me the tcode for a report which will give me the "Standard available capacity Vs Actual capacity used" for a Work Center? regards HR

  • B2B setup question.

    I have a requirement, where the PO reqest will come from the partner in a ftp server and B2B will pick it up from that server and send the document to BPEL for further processing. I tried to set up B2B by following the purchase order tutorial present

  • SAP Basis basics and routine

    I currently work as a business consultant on SAP systems for a number of clients and I wanted to share some pointers. Tracking and troubleshooting, then vice versa; This is a general rule of thumb to follow never do one without the other. First Ident

  • How i can unlock iphone 5 sprint without zipcode

    Hello. I bought the iPhone 5 in Russia. But it is blocked on the operator sprint. At connection it to the computer, he asks to enter from me billing  zipcode and the last 4 digits of ssn. To me the zipcode as is known, that who bought it in America s