Windows run command alternate

What i am missing in this ultimate mac machine is the functionality of windows run command and windows explorer path bar in the folder toolbar, where we can paste the path of any file so get that in any window, for example i browsed one file which is saved in several sub folders now i get it path, now if i want to attach that file from my apple safari browser i have to do through all the search to get into that folder where as if i wish there is any way to just copy paste that path into attachment pop up box to get in that directory directly,

Does "Finder -> Go -> Go to Folder" help in getting to a file where you know the path?
And Spotlight can quickly get to an application
If you are not offended by Application -> Utilities -> Terminal, you can use
open /path/to/your/file
If your file type is not associated with the desired app, you can use
open -a ApplicationName /path/to/your/file
As I do not fully appreciate the Windows 'run' command and Windows Explorer, I can not be sure I am even close in my suggestions.
Then again, it is possible that there are a few more solutions than what I have already suggested, if I did fully understand the different uses of 'run' and Windows Explorer.

Similar Messages

  • What is the mac equivalent of the windows run command

    I am a mac virgin, always used windows based pc's. I am finding it a bit of a struggle. What is the equivalent run command on a mac?

    To launch a program, double-click its icon or CONTROL-click it and select open. In the Terminal.app (CLI program), it's open <path to application>.
    Since you're a newcomer to the Mac, peruse Switching from Windows to Mac OS X and Basic Tutorials on using a Mac
    G4 450 MP Gigabit   Mac OS X (10.4.9)  

  • Cannot run command window

    In Windows I would expect to call up a seperate command window with the following, but it appears to freeze up. What am I doing wrong?
    import java.io.*;
    public class command {    
      public static void main(String[]args) {
        try {
          Process runprogram = Runtime.getRuntime().exec("C:\\windows\\system32\\cmd.exe");
          try {
            runprogram.waitFor();
          catch(InterruptedException e){}
        catch(IOException e) {
          System.err.println("Cannot run command window");
    }

    What about this...
        Process proc = null;
        try
          proc = Runtime.getRuntime().exec("start cmd");
          proc.waitFor();
        catch(Exception e)
          e.printStackTrace();
        }Some dukies would be nice next time ;-)

  • Using computer variables in task sequence "Run Command Line"

    I am attempting to deploy VMs through VMware's vRealize Automation tool using CM. The process creates a CM computer object then creates a direct rule on a CM collection for the new computer object. During the creation of the computer object vRA creates computer
    variables provided by me on the computer object. I see the computer object built and i see the custom variables on the computer object:
    Name Value
    dns1 10.10.10.10
    dns2 10.10.10.11
    gateway 10.10.10.1
    ipAddress 10.10.10.2
    netMask 255.255.255.0
    In the task sequence the last step is to "Run Command Line":
    cmd /c netsh int ip set address name="Ethernet0" static %ipAddress% %netMask% %gateway% & cmd /c netsh int ip set dns name="Ethernet0" static %dns1% & cmd /c netsh int ip set dns name="Ethernet0" static %dns2% index=2
    When the TS gets to that step it doesn't substitute the variables in the command with the computer variables listed above. Looking at the smsts logs after the deployment is complete I see lines stating:
    Set Command Line:...
    Start executing command line:...
    Executing command line:...
    ProgramName = ...
    All of those lines show the command exactly as it is above with the %variables% intact.
    The command immediately fails with the error:
    Invalid address parameter (%ipAddress%). It should be a valid IPv4 address.
    Does anyone have a suggestion on why the TS isn't using the variables? I found this article https://technet.microsoft.com/en-us/library/bb693541.aspx but its for 2007 not 2012. I wasn't able to find something comparable for 2012.

    I don't know why anyone here thinks you *need* sccm osd to achieve fully automated customizations.
    Customer selects base image (2008 r2 core, 2008r2 gui, 2012 r2 core, 2012 r2 gui), which should be thin and with zero customizations anyway,
    vaai accelerated clone creates vm,
    ip addr/gateway/dns config is injected with powercli,
    customers config management engine agent of choice is installed via powercli script injection/execution (we have puppet users, ConfigMgr users, saltstack users, IEM users, Cheff users),
    the clone completes in ~2 minutes and a VM is presented to the customer in less than 5 minutes 
    Deploying windows VMs via SCCM OSD is not only slow, but requires dev work on the customer side to get things rolling which wastes everyone's cycles including your own

  • BO Edge 4.0 Installer stuck on "Run command-line executable"

    Hi,
    Our BO Edge BI Server 4.0 Installer on Windows Server 2008R2 is stuck on one of the last steps; "Run command-line executable".
    Before is was stuck on "WaitForCMSForTheFirstTime". We upped the RAM to 16GB and then the installer went past this, but after a full reset of the server and trying again it is now stuck a few steps later on "Run command-line executable". This is very frustrating, especially since there is no error message at all, no install log and the installer is just stuck indefinitely and we had to cancel it.
    At that point the Central Configuration Manager shows this:
    Apache Tomcat - Running
    BW Publisher Service - Stopped
    SAP BO Mobile Authentication Server - Stopped
    SAP BO Mobile Processing Server - Stopped
    Server Intelligence Agent - Running
    We can't deinstall from Windows to start over at this point because the installer says an install is in progress.
    What is going on?
    Help urgently needed and appreciated
    Edited by: J. Knulst on Jan 11, 2012 7:48 AM
    Edited by: J. Knulst on Jan 11, 2012 7:50 AM

    Hello,
    Yes, certain stages run for a long duration. "Run command-line executbale" runs for atleast 45 mins. It's normal.
    My suggestion would be to leave it for 45 mins-90 mins.
    Now that you have interrupted your installtion, try uninstalling it through the control panel.
    In case you can't see the software there, then you have to edit registry entries, which is very tiresome.
    Regards,
    Sonia

  • Run commands in new tab in Terminal.app

    hello, i want to know is there a way to run commands and these opens a new tab in terminal.app.
    i know i can open a new tab with cmd+t , but i have a folder with hundreds of files with the name [email protected] and each file has the string ssh://username@server...
    i use these folder in the dock like a bookmark of servers that i administrate, if i set that ssh default is the app iTerm.app then every of these file i execute opens in a new tab of iTerm, but if i set ssh default to Terminal.app for every file open a new windows of Terminal.
    I would like to use Terminal.app if somebody help to find a way to open these conections in a new tab.
    You can try to open the terminal.app, them in safari type ssh://localhost... and you see a new window of terminal.
    Sorry for my bad english
    Regards
    Diego.

    I wonder if you're too tied to one solution. I do a very, very similar thing to what you're doing, except that I support 900 or so machines (I work for a hosting provider -- so, I'm not kidding.. promise!).
    The basics of my setup are as such:
    I have the host names of all the servers in a text file. In my .bash_profile I have a routine that loops through each server name and, if needed, generates a bash script named for the server in a directory I've set up in my path (~/bin/hosts). That file has the command string for ssh that I use to connect to the server in it. For example, for a server named 'foo', I'd have a file named '~/bin/hosts/foo', and the contents would look something like this:
    ssh -X username@foo
    This is the part I really like. I create each one as it's own bash script so that it can be found and indexed by spotlight, which I use as my app launcher. So, once each script has been created, all I have to do is cmd-space (to open spotlight) then type in the server name to continue. This works great except that it opens a new window every time. So annoying. As of today, though, I now have a new bash script:
    tab ssh -x username@foo
    A very small change, but with a huge effect. The other change is that I put the "tab" subroutine in a bash script in my path as well. So, now when it launches the ssh command it's in a new tab. Exactly as I wanted.
    I'm hoping this will help you. Even if not, though, try to remember to keep an open mind. I know the "url" scheme you're using works well, but I actually prefer my way (of course.. I made it up ). Whichever way you go, I wish you the best of luck.
    Cheers,
    4

  • Oracle EM Grid Control Error: Failed to run command in process

    I am trying to change "Backup Settings". After entering the Host Credentials, when I click the OK button, I receive the following error message.
    Validation Error
    Examine and correct the following errors, then retry the operation:
    Error - Connection to host as user <user> failed.ERROR: Failed to run command in process
    Any Suggestions? Thanks in advance!

    Hi,
    If you are using linux/windows the hostname credentials should be the user who has installed the oracle 10g database software, if Windosw the user you are using need to be member of the ora_dba group and have Local Security privilege 'Log on as a batch job'.
    What you need to do is go to start----> Programs----> admin tools----> Local security policy --->local policies ---> user rights assignments
    In the list to your right, look for 'Log on as a batch job', double click and add the same OS local user you using to access OEM web to the group.
    I hope this will solve your problem.
    Cheers,
    Francisco Munoz Alvarez
    http://www.oraclenz.com

  • Run Command through Java Program.

    I am giving ping command in exec method of Runtime().
    But ping syntax is different for linux and windows. So when I run command on windows it wasn't worked. I am giving command --> ping -c5 ipaddress . This works fine for linux but in windows, there is no -c option. So is there any solution to overcome this situation?
    please reply ASAP.
    Thanks,
    Raj

    I am writing code that runs ping command on all OS.
    Ping syntax different for different OS (like
    windows,linux,solaris etc).
    I don't want to check for each OS and run command
    specific to that OS.
    I want to write a generic program so ping command
    execute regardless of which OS. This is self-contradictory. You can't use one command line string on different platforms if they don't support this one command string.
    The ping command is different (concretely, this -c option you mention is indeed not supported on Windows - what does it do anyway?) on different OS.
    So, you basically have two options:
    - You use only a subset of the ping options, one that does run on all your platforms (I actually expect ping to be pretty portable anyway but...).
    - Or you do use platform specific options like -c, in which case there's no way around checking the running OS and generating a specific command line.
    Can I use system calls in my program to execute the
    ping command, If yes, how?Rephrase please.

  • How we run command line commands in oracle

    Hi,
    In sql server i have an option "xp_cmdshell" i can run windows commands e.g "dir " using query analyzer.
    How can i do same thing in oracle
    Thanks in advance.
    Regards
    Faheem

    > MY SELECT:select OSexec('dir') as STDOUT from dual;
    ERROR:-1command[dir] The handle is invalid.
    In the sample code, I've executed a Linux/Unix program called date, physical file /usr/bin/date.
    Is there a DATE.EXE or a DIR.EXE program that you can execute on Windows?
    No. Both DATE and DIR are commands of a program - a 32bit console program called CMD.EXE.
    Your confusion stems from thinking that OSEXEC is calling the Windows shell command line. It is not. It is not calling CMD.EXE and passing Window Shell Commands to CMD.EXE.
    OSEXEC is calling, via Java, the Win32 API call called CreateProcess(). This is a call to the Win32 kernel. It requests the kernel to load an executable program as a process image.
    The kernel expects an EXE (or executable) file to load. You are passing it a command from a program. You just as well can pass it a Java command, a MS Access Basic Command, an Excel Macro, etc... Same thing. The kernel has no idea that this "command" needs another program to be loaded, and that command be "passed" somehow to that program.
    So, you need to call CMD.EXE via OSEXEC. And you can pass parameters to it. Open a Command Console and type cmd /? for help on the command line switches and parameters for CMD.EXE.
    I believe the following should work:
    SQL> select OSEXEC( 'c:\windows\system32\cmd.exe /c date /t') from dual;

  • Installed iTunes on a 1TB drive designated H:. Bought a 3TB drive designated G:. Downloaded iTunes update. On "Run" command, it will not let me change the destination drive, so it registers an error, and will not update. Help

    Installed iTunes on a 1TB drive designated H:. Bought a 3TB drive designated G:. Downloaded iTunes update. On "Run" command, it will not let me change the destination drive, so it registers an error, and will not update. App freezes, windows says to upgrade it.

    I went to Edit>Preferences>Advanced, G: is showing as the destination drive.

  • How to "telnet" and run commands on another computer?

    I have a Unix program. I need this to "telnet" to a Windows computer and run commands (via the prompt in Windows). Is there a way to do this in java?
    Also it is something that will be a cron job so the password will be stored in a file rather than the user typing it at the screen. There is no GUI. There is no server or java process running on Windows at the time. The Unix program needs to connect to Windows only when needed.

    Try enabling the Windows telnet server, use a regular telnet client and check if it is enough for your needs.
    Several commands in Windows apparently could be run in command-line mode using telnet, but for some reason they don't work very well. For instance, they could be using some special console-mode APIs for hiding the cursor or drawing characters in different colors, that simply will not be echoed by the telnet server.
    I remember when I've tried to use the osql tool (a command-line interface) of MS SQL Server in a Windows telnet server session. Some things simply didn't work.

  • 504 5.5.2 windows : Helo command rejected: need fully-qualified hostname

    Hello2all!
    Just try to send e-mail from PC client running Outlook 2003 clien, and can't, the returning message is *504 5.5.2 <windows>: Helo command rejected: need fully-qualified hostname*
    From other e-mail client e-mail's sending and recieving very well, but Outlook 2003 return this message.
    Anybody has idea?

    I am so sorry, found great answer from Apple.
    May be someone will be interested.
    http://support.apple.com/kb/TS3023

  • Pass password to runas command?

    Is there any way to do this? I need to kick off a executable on a Windows 2000 system but I need to do it as Administrator. I was going to use the runas command, but apparently there is no parameter for password. Instead, it prompts for it. Is there any way to fill in a prompt after you run it?
    I'm guessing the answer is no since once you start the program with a run process it's off doing it's own thing, but figured I'd ask.
    Anyone have any other suggestions?
    Thanks,
    James

    I don't know or have su.exe, so I can't say for sure. But generally speaking it is possible to start cmd.exe, then send commands to it, including "set". Like the following:    public static void main(String[] args) throws Exception {
            String c = "cmd.exe";
            System.out.println(c);
            Process p = Runtime.getRuntime().exec(c);
            PrintWriter writer = new PrintWriter(p.getOutputStream());
            BufferedReader in = new BufferedReader(
                new InputStreamReader(p.getInputStream()));
            Thread.currentThread().sleep(1000);
            writer.println("set foo=bar");
            writer.println("set");
            writer.flush();
            Thread.currentThread().sleep(1000);
            while (in.ready()) {
                System.out.println("From process: " + in.readLine());
            System.out.println("Process \'" + c + "\' finished");
        }This starts a new instance of command exe, sets the environment variable foo to be "bar" (only in the shell you just started, you don't have to explicitly null it out afterwards), and then lists the environment variables in that shell. However, it's not really bulletproof - I had to toy around with thread.sleep() to get the above to work as intended.
    Another (and probably easier) way might be to have your java program write a small bat file with the required commands, execute it, and delete it again.

  • Windows/DOS Command line for Apple Software Update

    I have a lab of Mac's and PC's all running iTunes/Quicktime. Is there a windows/DOS command line option to running Apple Software Update on Windows? I dont want to have my systems automatically download updates until after I have had a chance to test them first. At the same time though, I down want to have to visit each system(even with VNC) and install the updates by hand either as I have a way to blast a command at the PC's all at once to do the job.
    m
    MacBook Pro   Mac OS X (10.4.10)   Windows XP Pro

    ok i've sorted it, the solution is you have to put
    defaults write /Library/Preferences/com.apple.Softwareupdate CatalogURL http://servername:8088/
    and not
    defaults write com.apple.Softwareupdate CatalogURL http://servername:8088/

  • Running Commands post Image Deployment in Other Tool

    Hi, I am using Matrix42 which is a tool from Empirum to deploy Windows7. It does not give me options  to run scripts at desired stages as OSD/MDT does. I need to configure some settings at the end of Win7 deployment. Is there a way to automatically
    achieve this?

    As suggested by Paul, you can use GPO, UNATTEND.XML etc. One more way to achieve running desired commands post OS installation is to use SetupComplete.cmd file.
    You will have to add your scripts to it as you would do in a batch file with certain delay added if there are multiple commands you wish to run.
    This should be present at the following location and you can capture your WIM with it present there:
    C:\Windows\Setup\scripts\SetupComplete.cmd
    For more information, check the following link:
    http://www.tech-recipes.com/rx/21558/how-to-run-commands-after-windows-7-deployment-using-setupcomplete-cmd/
    -RG
    If this thread answered your question, Please click on "Mark as Answer".

Maybe you are looking for