What command would  you use to open a directory (i work with mostly vista

and xp...basically...I want to get a button to open an explorer file directory

public class Exec {
     public static void main(String[] args) throws Exception {
    String[] commands =
       {"cmd", "/c", "start", "\"title\"", "\"c:/program files\""};
       Runtime.getRuntime().exec(commands);
}You need to pass a dummy title to the start command especially if the target contains spaces.
Bye.
RG.

Similar Messages

  • What command would you use to check for allocation, structural, or logical integrity problems?

    What command would you use to check for allocation, structural, or logical integrity problems?

    Wondering if you are looking for DBCC CHECKDB command? For more information, on that command, try to look at this:
    http://technet.microsoft.com/en-us/library/ms176064.aspx

  • You want to know the amount of space the transaction log for the Customer database is using. Which T-SQL command would you use?

    You want to know the amount of space the transaction log for the Customer database is using. Which T-SQL command would you use?

    Forced me to do a little research.
    DBCC SQLPERF(logspace)
    See also
    http://stackoverflow.com/questions/198343/how-can-i-get-the-size-of-the-transaction-log-in-sql-2005-programmatically
    For every expert, there is an equal and opposite expert. - Becker's Law
    My blog
    My TechNet articles

  • What application can you use to open a file with the .acc extension?

    What application can you use to open a file with the .acc extension?

    http://www.fileinfo.com/extension/acc

  • What program do you use to open the installer file for mac?!

    for some reason it wants to use matlab. i know how to fix this problem myself if i knew what program to use to open the installer... but i cannot find that information anywhere. can someone please help me. what program do you use to open the java installer file for mac!?

    osx - Why is Adobe Flash Player downloaded as a ".dmg.mdlp" file? - Super User

  • Hey what program would you use to make Kinetic Typography

    What program would i use and if there is one please post the link for it thanks

    I found this thread, you may find it helpful:
    https://discussions.apple.com/thread/2302254?start=0&tstart=0

  • What function would you use instead of "IF" when referencing durations from a pop-up menu. Ie; if c4 equals 1h enter 280, if c4 equals 30m enter 160, etc. IF works fine if c4 is formatted as text but returns 0 when formatted as pop-up.

    What function similar to IF would one use when the reference cell is a pop-up menu of items in duration format?
    Example: if C4 equals 1h enter 280, if C4 equals 30m enter 160, etc
    i can get it to work fine if I format the cell to text but I not only need it pop-up, I also need it to be written in duration format because it's used as duration in other functions.
    thank you for your help in advance
    Christina

    Hi Christina,
    A screenshot is always helpful.
    C4 is your popup? You want to chose a duration there and have 280 or 160 show up somewhere else? Are they the results of a mathmatical formula or do you want a lookup table to show them?
    I suspect something else is going on in your table. I have no trouble having a popup recognized as a duration:
    The formula in C2  =DUR2MINUTES(B2) displaying "60" as expected. Note that "60" is not a duration. If I want C2 to be a duration I need the formula to read:
    =DUR2MINUTES(B2)&"m".
    I hope this helps, if not, post a screenshot including relevant formulas.
    quinn

  • What application do you use to open windows media or real player?

    I'm a new user, and It says I need to download windows media player to watch video clips from comedy central, so I downloaded the one for the macbooks, but then it says I dont have a specified application to open the media player I just downloaded. Does anyone know what application to use to open the media player? or any other player I could download where I dont need an application to open it? If anyone knows how, please write me back, thank you for helping.
    ~Cole

    You can go directly to flip4mac.com, to get wmv codec for quicktime, but it only allows you to play unprotected wmv files (wmv v9 I guess).
    For realvideo, there is a realvideo mac player, on real website. Just install it...

  • What tools would you use to make these kinda pictures/symbols?

    Would love to know the simplest way you people can do, step by step illustrations would do more
    thanks
    markus

    Vector-based paths 100% all the way. Raster-based art often stinks for things like logos and symbols.
    Photoshop is very good in some respects at creating vector art. I really LOVE the keyboard shortcuts in Photoshop for the vector-based Pen tool. Using Shift, Ctrl, Alt and Spacebar on Windows or Command, Option, Shift and Spacebar on Mac you can manually digitize vector paths over scanned art, make adjustments to those paths and zoom in/out and hand pan the view. I really wish Illustrator (and CorelDRAW) used the same keyboard short cuts. They really speed up the process of manually drawing clean paths over hand-drawn or scanned artwork.
    Illustrator is a great tool for this purpose for all the extra vector-based tools it has that Photoshop does not. CorelDRAW is also very good. However, they're best at techie looking things while Photoshop's pen tool strenghs lend themselves to accurately digitzing more "organic" looking shapes.

  • What size would you use

    Hi
    Not sent in any messge as yet but all the info I have read
    has been really usefull.
    OK my issue is this. I am putting together some show me's
    (demo) of a new system to search for jobs for teenagers and the
    young. The system has great potential but that is another topic. I
    want to record this web based system and give the users access to
    the demos via a link from the system. I will showing them how to
    register, to search and to apply for vacancies. The problem is I
    want them to be able to open the captivate movie in another window
    (whcih will be smaller than the web page they clicked from. without
    losing any quality. ifg I record at 800 by 600 the out put
    generates scroll bars. If i record at less than 800x600 then I have
    to scroll around the screen. can anyone understand my problem or am
    I losing the plot
    help if you can
    Cheers
    Jerry

    > So, three questions:
    > 1) Can I take their template (which has all kinds of
    formatting that I'd
    > rather not have to apply manually to a blank
    presentation), create a new
    > .cp
    > file, and just resize it (increasing the size to
    790x555) so future
    > recordings
    > are that size, or will that introduce blurring or some
    sort of degradation
    > of
    > image quality?
    You should be able to - but any graphocs in their template
    will blur. Best
    if you can get them to provide a new template with new,
    properly scaled
    graphics.
    > 2) I will be embedding the resulting movie in an
    Articulate Presenter
    > file. Is
    > that relevant to this discussion?
    Shouldn't matter. But perhaps your client has a fixed size
    due to other
    hardware or interface constraints. You may habe to compromise
    by *capturing
    at your chosen resolution, then resizing to theirs.
    > 3) What effect does my monitor screen resolution have,
    if any, on the
    > results?
    Since you are capturing at a fixed pixel resolution, it
    shouldn't matter.
    Steve
    http://twitter.com/Stevehoward999
    Adobe Community Expert: eLearning, Mobile and Devices
    European eLearning Summit - EeLS
    Adobe-sponsored eLearning conference.
    http://www.elearningsummit.eu

  • What SONG would you use for this slideshow?

    I'm working on a slideshow that basically chronicles the first year of my son's life for his 1st birthday. I've hit a creative road block and was wondering if anyone had any good ideas for a song that would fit perfectly to go along with this occassion.
    Thanks for your help = )

    John Lennon's "Beautiful Boy"

  • Action recorded using RAW open step will not work with layered PSDs

    Hello,
    The title says it all.
    I have an action for resizing photos (and some other things), that I want to make general enough to work on NEF's, JPG's and PSD's. When I recorded the action I used a NEF file and the action works great also for JPEGs and also PSDs that don't have layers. When running the action on a layered PSD, the step immediately after the "open" step fails, no matter what it is. For example, if it's "hue/saturation", I get the error "hue/saturation not available".
    So I was thinking that the image should be first flattened so I added 2 additional steps just after the open: one to add a dummy 0-opacity layer and another step to flatten the image. But no matter what, I keep getting an error at the step after the open: "new adjustment layer not available" or the like.
    I'm thinking that the problem is with the open step actually. For some reason, the o CameraRaw open step is unable to produce a suitable image out of a layered PSD.
    Is there a workaround for this? Thanks!

    Thanks for the explanation.
    However, I am still puzzled as to how the programme can detect lack of time code when the tape was not even rewound or played. I belive the time code is written on the tape.
    Anyway, I tried iMovie and found that the programme detects the camera and controls it. However, it does not recognise the downconverted DV signal. When I turned the DV conversion off, the video was detected and imported using MagicMovie in HD. I still have not gone round to burning on a DVD. ( I only read the article mentioned by Sue after having tried the iMovie programme - somehow the link that was so clearly stated in the reply missed my notice earlier on).
    I have actually recorded the downconverted DV video on a standalone Phillips DVD recorder but the DVD only plays in that recorder and my Mac DVD Player even tho I have finalised the +R disk. The same problem occurs with a +RW disk.
    I appreciate the replies and the explanations. Thanks.
    m_elan
    Power Mac G5   Mac OS X (10.4.9)   2.5 Gb ram

  • This file is locked or in Use.  Would you like to open a copy of it?

    I use AppleWorks more than anything else, and understand the work arounds. Here is the problem, everytime I open a previous file I get this message, "This file is locked or in Use. Would you like to open a copy of it?" I copied applications from a previous iMac. When I try to open copy of the document, I get the above message. When I try the save command I can't, even a save as doesn't work either. Any thoughts or ideas for a resolution.

    I have found that this problem is due to OS X's ownership & permissions. When you create & save a document in AppleWorks in OS X the file is owned by you & no one else can make changes without your permission. If you don't have the same account name as on the other Mac, you'll need to change the permissions. Click on the file to select it, then choose "Get Info" from the File menu. Now click on the triangle next to "Ownership & Permissions" & change Group & Others permissions to "Read & Write."
    The save problem may be solved by deleting the AppleWorks preferences.

  • What sequence setting would you use to edit 1280 x1080 DVCProHD (P2) and 1920 x 1080 AVCHD (Sony) in FCP. Experiencing Quality and rendering issues.

    What sequence setting would you use to edit both 1280 x1080 DVCProHD (P2) and 1920 x 1080 AVCHD (Sony) in a single timeline in FCP. I'm experiencing quality and rendering issues.  I've tried numerous settings but can't seem to figure this one out.  Thanks for your assistance.

    Although you can combine the avchd 1920x1080 material with prores 1920x1080 in the same timeline, you might land up saving time just converting everything to 1920x1080 prores 422.   You'd probably reduce the amount of rendering while you're working and exporting when you're done by a great deal.  This workflow will require much more drive space.

  • What camera raw default settings would you use for the Canon 5D Mark 3. I have PS CS6.  Thank you.

    What camera raw default settings would you use for the Canon 5D Mark 3. I have PS CS6.  Thank you.

    Really, this is a question you should be asking yourself...
    What do you shoot? Makes a difference...
    Typical ISO that you shoot? Makes a difference...
    Shooting for clients or yourself? Makes a difference...
    Look, there is no magic bullet...the ACR/LR "Default" should only be changed for those adjustments you make 70-90% of the time and sould not be confused with image by image adjustments...
    So, as asked, your question can not really be answered other than to say, use a default that suits you.

Maybe you are looking for

  • Install app in ipad 5.1 from xcode 4.2 ios 5.0

    Hello All, I have latest xcode for the snow  leopard which is xcode 4.2 with ios 5.0 and my ipad has 5.1 ios. When i use organizer to install app it says the version of my xcode ios is not matching to the my ipad. Please have a look at the attached s

  • Cancel Transfer Order - Delivery is not updated

    Hello, I'm using the FM L_TO_CANCEL to cancel a TO item. The problem i'm facing is that in the delivery, the picked quantity does not increase after canceling the TO. The TO status shows as completed and canceled Hence if I try to create another TO,

  • JSP Pagination with JDBC Database result

    I would like to have pagination for my JSP app. Has anyone ever done it using JDBC? What if the result is huge Just wondering if I get a result of 40,000 and the page would take a long time to load just to show the first few results. Should I store i

  • Can i call a Workbook trought the portal?

    Hi all, i have to call a workbook trought the portal, when i put the workbook en in the Rol, this just can be seen from the Browser. but im the portal doesnt appear,  now my task is put these reports (workbooks) that the users can execute them trough

  • Profit center document not generated after creating the billing document

    Hi, I have few billing document for which the accounting document is created, but no profit center document got generated. What could be the reason? The profit center is captured at the account assignment tab of sales order as well as at the item lev