File exists() with dirs like "docume~1" and other shorted paths on windows

Hello All
I've been having troubles when using "shorted" paths like "C:\docume~1\...."
Unfortunatelly i have to parse the output of another program which gives me the way "docume~1" instead of "documents and settings"
The thing is that when i use something like
File path = new File ("C:\docume~1\....");
boolean out = path.exists();
out is always false for this kind of paths, while when other normal paths i have no problems. Is there any way to "translate" it on the fly, or make this reduced names to be recognized by Java?

8.3 notation using "~" works for me.
File path = new File ("C:\docume~1\....");Might be a typo, but make sure to escape the backslash in string constants, i.e.:
File path = new File("C:\\docume~1\\...");

Similar Messages

  • Files associated with user's mailbox database and reverent directory path (exchange 2010)

    Hi,
    I want to know all the files and other associated types of log files with particular user's mailbox database in exchange 2010 & its reverent directory path . Please suggest
    Aditya Mediratta

    Hi,
    If you want to view the database file path and associated log file path, you can use the following command.
    Get-MailboxDatabase "Mailbox Database" | fl *path
    Default path is C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database
    Best regards,
    Belinda Ma
    TechNet Community Support

  • Can i delete the apps that comes with the 5s phone, like itunes, weather and others that i won't be using?

    can i delete the apps that comes with the 5s phone, like itunes, weather and others that i won't be using?

    You can't delete some of the native apps but you can put them away in a folder OR some of them you can make invisible by restricting them (iTunes for example).

  • When I use Thunderbird with Yahoo Groups, Google groups, and other email lists, I don't get a copy of my own emails back from the list (I do with Mail.app)...?

    When I use Thunderbird with Yahoo Groups, Google groups, and other email lists, I don't get a copy of my own emails back from the list. I *do* when I use Mail, so it seems like a Thunderbird thing. I'd really like to see my own emails come back to me in the conversation so that I know where my remarks fall in the discussion; it's very disorienting when you can't tell if your email has arrived at the list, or not. I can't seem to find the setting, and I've searched thru your help topics, etc., to no avail. Thanks.

    It's both gmail and mac.com email accounts, and it's all email lists -- including some privately hosted on servers, that are not Google groups, not Yahoo groups.
    I'm not sure what you mean by "saving a copy of your messages yourself" in Mail -- if I email to the lists with Mail on my laptop or iPad, I can see it on my desktop computer too, right in line with other email messages in the thread, after the list resends the message I've submitted. It's only Thunderbird that this "invisible posts" behavior happens, and it didn't use to happen this way. I used to get my emails posting right in the thread.

  • Error in Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7

    Hello Everyone,
    I am a regular user of I-tunes but recently i dont know why but I got some error in Launching I-tunes. So as recomonded by "Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7" section. I started removing the products. But after removing Quick time, I tried to remove Apple Software Update but while uninstalling it gave error that "There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor." and the uninstall rollbacks.
    Please send me a feasible solution to this problem.
    Thank You.

    Uninstalling the iCloud control panel should allow you to do that folder deletion.

  • How to close Internet Explorer and other programs running on Windows?

    In order for Flash Player to be installed or updated, any programs that use Flash Player must be closed.  This includes Internet Explorer or other browsers, instant messengers, Skype, etc.
    These programs may be running in the background, not as visible windows, but need to be closed anyway.
    To close such programs use the Windows Task Manager.  To start Task Manager, take any of the following actions:
    Press CTRL+ALT+DELETE, and then click Task Manager.
    Press CTRL+SHIFT+ESC.
    Right-click an empty area of the taskbar, and then click Task Manager.
    Once the Task Manager is running, select the Processes tab.  On older Windows version you may need to click on the Process Name or Image Name header to sort the process names.
    Now right-click on every process that the Flash Player installer needs to close (e.g. iexplore.exe), then select End Process.
    It would be desirable if the Flash Player installer could perform that action by itself; I have therefore created an enhancement request.  If you were affected by this problem, please head over to the Bugbase and vote for this request: https://bugbase.adobe.com/index.cfm?event=bug&id=3548136

    See How to close Internet Explorer and other programs running on Windows?

  • Can I get a notice when the files are downloaded by the recipient? And other issues...

    The older SendNow app notifies me by email whenever I have successfully sent a file, and another email when the recipient has downloaded the file.
    With Adobe Send, I get only an email notice that the recipient has "viewed my shared files" which is kind of vague. I would like to know for certain that the client has actually downloaded the file. I know that I can log into the Acrobat site and "View Full Activity" for each file transfer, but it would be great to get an email notice or a text message.
    I hate to say it, but I still feel like we have taken a step backwards with this app, compared to SendNow. It is nice that the recipient can preview the file before downloading it. That seems to be the only benefit so far that I can see. But not having a memorized email address book can make the process very tedious.
    Another minor frustration: Whenever I log in to the Acrobat or SendNow site, there is a box that asks if I want to 'Stay signed in'. I click it every time since this is my own private computer, but I always have to log in anyway.
    When the Adobe Send app first launched, I had problems with it failing. It was VERY frustrating because the status bar would seem normal until the very end before kicking out a fail notice. It happened mostly with larger files or with multiple files. So, I would wait a long time only to have to do it all over again. the entire process would fail.  For example, if I sent six large files, and only one of the files was problematic, the entire transaction failed. The app would not identify the specific failed file. Why couldn't the app allow the good files to go through? I have no idea if this is resolved, but because of this, I have only used the SendNow app.
    well, is anyone there??

    Is working on FCE projects while all the video files are saved on an external drive a bad idea?
    Not at all. This is the correct way to work with a laptop.

  • WS2012 Standard R2 with Essentials sudden problem with Server Manager, Essential Dashboard and other services

    Hi all,
    I have a problem with my Windows Server 2012 R2 with Essential installed. When I try to run Server Manager the server manager window doesn't appear and the same thing applies for starting the essentials dashboard. This leads to that some of the features doesn't
    work properly like remote web access, client backup and so on. When I check the Services a lot of services haven't even started. Trying to manually start for example Windows Server Essentials Management Services gives me following error message: 
    "Windows could not start the Windows Server Essentials Management Services on Local Computer. Error 1068: The dependency service or group failed to start"
    What can be wrong here? I haven't done anything to the server that could start these problems. This started all of a sudden. 
    Thank you all in advance for any help.
    EDIT:
    I rebooted my server in safe mode and I tried to run SFC /Scannow which stops at 84% and gives me following message:
    "Windows Resource Protection could not perform the requested operation."
    I also tried to run "DISM.exe /Online /Cleanup-Image /RestoreHealth". This did not help either. It completes the operation but nothing changes. The problem is still there.
    I thought that my server backups were OK and that this problem would be gone by restoring the C: drive with backup image. The problem is that all my good backups was rewritten with new backups that could not take backup of the C: drive for some reason. Now
    I need to solve this problem without reinstalling the whole operating system.
    EDIT:
    I have also completed the chkdsk C: /r command and now the SFC /Scannow command can be completed, with notification that some files could not be fixed. I have attached the sfcdetail.txt file which points out that
    "tsgclean.exe" cannot be repaired. What has that file to do with my WS2012 problems...
    2015-01-04 03:12:54, Info                  CSI    00000477 [SR] Cannot repair member file [l:24{12}]"tsgclean.exe" of Microsoft-Windows-TSProxy-EdgeAdapter,
    Version = 6.3.9600.16384, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, hash mismatch

    Hi,
    Did you remember any operation which you had done before this issue occurred? For examples, install any update,
    install any third-party application or any other? Just a confirmation, thanks for your understanding.
    For those problematic services, please open services’ Properties and navigate to
    Dependencies tab, then check if all system components which this service depends on run as normal.
    In addition, please open Event Viewer and check if find relevant events. Meanwhile, please follow the path:
    %programdata%\Microsoft\Windows Server\Logs and check Dashboard log file if find more clues.
    By the way, when you run
    sfc /scannow command completely, did you open Server Manager or Dashboard again? Any difference?
    If any update, please feel free to let me know.
    Hope this helps.
    Best regards,
    Justin Gu
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected].
    Hello Justin,
    Regarding the third-party applications:
    I have not installed any third-party application that could cause this problem. All my third-party applications that are installed on the WS2012 R2 are confirmed working well with the operative system and are installed at the time when I hadn't these problems.
    I cannot say anything about windows update because that is something that I update once in a week after checking that no user is reporting any issues. I have learned my leason with windows update when I had Surface Pro 2, that was a dissaster.
    Regarding the Windows Updates:
    Anyway, I tried to remove all the windows updates before as well (not the security updates) down to 5th December which is the time when I know that my server worked well. Only two updates could not be removed (KB3012199 and KB2989647). I don't
    know if these two updates can cause any problem?
    Regarding the problematic services:
    For example: Checking the properties for "Windows Server Essentials Management Service" -> It is dependable on
    "1. Active Directory Domain Services" and "2. Windows Server Essentials Provider Registry Service".
    No 1 is running but not no 2. If I try to start no 2 service it will give me the same message as before:
    "Windows could not start the Windows Server Essentials Management Services on Local Computer. Error 1068: The dependency service or group failed to start"
    Regarding the Logs:
    I have uploaded Dashboard log files which are created after 5th December to my dropbox account: Link
    Regarding the SFC command:
    Of course, when the SFC command was completed but with error that it could not repair
    tsgclean.exe I tried to start the essentials dashboard and WS2012 server manager with no luck.
    What about the error message? I looked up that file in the explorer and it is located in folder "C:\Windows\WinSxS\amd64_microsoft-windows-tsproxy-edgeadapter_31bf3856ad364e35_6.3.9600.16384_none_2ec8d374a0ac5606"
    Why can't it be repaired and what kind of file is that?
    Best regards

  • Troubles with opening Finder, System Preferences, and others from dock

    I am having problems with Finder, System Preferences, applications like Word, Excel, and Firefox. When I click on their icons in the dock, the menu bar appears with the name of the application and file, edit, etc. but the application does not open a window on the screen. I just see my background pic. Some of the items in the menu bar that pop down don't work. However, apps like my mail, Safari, Itunes and others work properly.
    If anyone can help me with some suggestions, that would be great!
    tannikca

    Hello t:
    Welcome to Apple discussions.
    Do those applications open from the application folder? If they do:
    Try trashing a preference file and restarting (com.apple.dock.plist).
    If that does not help, drag the icons that do not work off the dock (poof sound). Then go to the application folder and drag the appropriate icon to the dock.
    Barry

  • Incompatibility issue with imported images losing keywords and other metada

    I am reposting this with a more descriptive title in hopes that the powers that be will look into this. This really nice piece of software is currently doubling the time in my workflow by having to re-input keywords, etc. after importing.
    Wayne_N
    Posts: 5
    From: Texas
    Registered: Sep 24, 2006
    Re: import keywords and ratings into Aperture from adobe apps?
    Posted: Nov 18, 2006 2:40 PM in response to: Egg
    Click to reply to this topic Reply email Email
    I am getting the opposite result. I have lost a lot of my keywords and various other data input in Bridge. Is there a setting I'm missing? I also put in Country name, city, state, contact, etc. in my Brdige metadata, but this is not importing with the RAW files. I am referencing images if that matters, although it shouldn't.
    Macbook Pro and Mac Pro Mac OS X (10.4.7)
    pvonk
    Posts: 19
    Registered: Mar 2, 2005
    New! Re: import keywords and ratings into Aperture from adobe apps?
    Posted: Nov 18, 2006 3:25 PM in response to: Egg
    Click to reply to this topic Reply email Email
    I also used Bridge/ACR to rate and add keywords to RAWS (Canon) and also used Adobe DNG converter to make DNG files from these.
    No ratings or keywords have imported for any RAWs and DNGs. And, for some DNG files (which I can see in Bridge and iViewMedia), they cannot be displayed in Aperture. It's very strange since I've used the same workflow to create the DNG files over the past year. Some can be imported/viewed, some cannot be viewed. All originally from the same camera/RAW file. I've read in this forum that Aperture cannot read things like keywords from sidecar files.
    I am hopeful that Apple will make DNG sidecar file import a big priority.
    - Pierre
    MacBook Pro, 2.16 GHz, 2 GB SDRAM Mac OS X (10.4.8)
    Macbook Pro and Mac Pro Mac OS X (10.4.7)
    Macbook Pro and Mac Pro Mac OS X (10.4.7)
    Macbook Pro and Mac Pro   Mac OS X (10.4.7)  
    Macbook Pro and Mac Pro   Mac OS X (10.4.7)  
    Macbook Pro and Mac Pro   Mac OS X (10.4.7)  
    Macbook Pro and Mac Pro   Mac OS X (10.4.7)  
    Macbook Pro and Mac Pro   Mac OS X (10.4.7)  
    Macbook Pro and Mac Pro   Mac OS X (10.4.7)  

    I have been testing Lightroom since beta 2, but after reading The DAM Book, I decided to hold off committing to LR since it was not clear that it would fit into the workflow recommended in the book.
    I had processed some of my recent photos, adding ratings and keywords (and doing some editing - but I knew that was not necessarily permanent due to LR's incompatibility with PS/Bridge when it came to metadata).
    I had briefly looked at Aperture a while back, but was turned off by the price (then $500) and the fact that it couldn't reference the original files. When the 1.5 demo came out with its improvements, I tried it and loved it! After much thought about the workflow I had developed, I decided that I could alter it so that Aperture would fit in - in fact it would be my main app (giving up Bridge/ACR/iViewMedia Pro).
    As per The DAM Book, I had begun converting my Canon RAWs to DNG (fortunately kept most of my RAWs). The first thing I discovered in the demo (I have since purchased the app, 1.5.1) was the fact that none of my ratings and keywords came through. Also, I used the color labels in Bridge to help during the evaluation phase, those didn't come through either, but I expected that. As I also noted in the previous post, some of my DNGs can't be viewed in Aperture even though they can be viewed in Bridge and iViewMedia.
    Fortunately, I had not "processed" all that many photos in my collection, so I can easily start again with the ratings and keywords. BUT there will be many photographers who have, and if Aperture hopes to tempt them away from LR or the other workflows, the Apple team should seriously consider providing support for Adobe's keywords/ratings found in sidecars and perhaps in DNGs. Also, good support of DNGs might be another thing to look at, as many users have been converting from RAW as I have.
    Just my three cents (inflation).
    - Pierre

  • How do I sync themes I create in the app with the the Kuler website and other Adobe apps?

    To sync color themes created on your iphone, you need to sign in to the app.  You can do this by clicking the settings icon (in the top right corner).  Then click "Sign in".  You themes will now start syncing with the Kuler website and will also be accessible in other apps like Adobe Ideas and Illustrator CC.

    Yes, makes some sense, but the main doubt is: Adobe Ideas don't reconizes .ase files...the only way in which I could make it work was saving the theme created as an image file (jpeg in instance) and email me this file, opening in Ideas and "catching" the colors as I would do with any other image. There's a way somebody could import this themes into Ideas?
    The Kuler page says this:
    "The color themes you create with the Kuler app can be synced to the Kuler website, an online community for color enthusiasts, for use with other Adobe applications such as Illustrator and Adobe Ideas."
    How one can do this? Theres no option in kuler like "Open in" when you save a theme, and Ideas don't recognizes the .ase files generated, so this is the main doubt:
    How one can import or sync, whatever, a theme generated in Kuler (the app or the site) into Ideas?
    Thank you.

  • Your latest upgrade states that it is incompatible with my Avast Virus protection and others who have McAfee have the same problem. Does this mean if we update Firefox it will interfere with our virus software?

    Your new recommended update appears incompatible with my and other's virus protection. How can we be sure we can safely navigate if your security on the older versions of firefox are lifted? It seems that many people are having this problem and have said they will return to Internet Explorer. Please advise as I prefer Firefox but cannot take the chance of malware and other infections. I would appreciate a hasty response.

    No, it doesn't affect your anti-virus program, only the silly little extensions that some anti-virus applications install into Firefox that duplicate features which are built into Firefox = anti-phishing & web forgery protection.

  • ADE crashes when opening .ACSM file on Mac OSX 10.10.2 (and other OS versions)

    I'm trying to use Adobe Digital Editions 4.0.3 to access downloaded ebooks from my public library. Whenever I import the downloaded .ACSM file, ADE crashes. I reopen it, and the book is there -- when I try to open it, it crashes. I try to transfer it to my e-reader, and (surprise!) it crashes.
    I've also tried using earlier editions -- exact same problem. I've tried other downloaded .ACSM books -- crashes again. Has anybody found a solution to this problem?

    Hello,
    Please download the latest ADE 4.0.3.114137
    http://www.adobe.com/solutions/ebook/digital-editions/download.html
    Some of the crashes have been fixed in this release.
    Thanks for being the part in product improvement.

  • Can the trial version with everything installed create mysites and other applications?

    Hello Community
        IF you have WS2012 and you install Sharepoint 2013 Server
    Stand-Alone used for trial environments and it installs all components
    can you create  Yammer, MySites, User Profiles,  etc?
        Thank you
        Shabeaut

    Yes, trial version comes with full functionality.
    Thanks
    Mohit

  • Working with the MS Word iPad and other office apps: Onscreen keyboard will not minimize

    With Microsoft's announcement today of allowing limited editing capabilities in their mobile apps, I installed the updates on my iPad.  So far, everything works great...with one exception:  The onboard keyboard will not get out of the way...won't
    minimize.
    I have last year's iPad Air and was trying to use my Bluetooth keyboard with each of the MS Office IOS apps.  Consistently, across all of these apps, the keyboard would stay on the screen and the key for minimizing the keyboard had no affect, even though
    my Bluetooth keyboard was linked and working.  Any other app I use automatically removes the onscreen keyboard when the Bluetooth keyboard is detected.
    This does make the applications difficult and not much fun to use.
    Any thoughts?  Anybody else notice the same issue?
    My office has begun deploying Office 2013/365 and I know we'll have some users on iPads and other tablets, so I'm real interested in correcting this if at all possible.

    Hi,
    This forum is for general questions and feedback related to Word for Windows, I'd recommend you post your question to the Office on IPad forum:
    http://answers.microsoft.com/en-us/office/forum/office_mobile-word-os_device_ipad?tab=Threads
    The reason why we recommend posting appropriately is you will get the mostqualifiedpool
    of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Steve Fan
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

Maybe you are looking for