Host command, change directory where it opens command prompt

I'm using the HOST command to host out to the command prompt. What I want to know is how to change the directory that the command prompt opens up at. I want it to open up at the c:\ but instead it's opening up at in the forms60 path where forms is installed.
Thanks in advance

Hi Viktor,
     What i could understand from your question is that in the FTP server you'll be writing a file in folder A and once the writing is done you need to get it moved to Folder B using a 'CD' OS command. But this OS command is not allowed in the FTP server.
    If that is the case then it will be better to write the file directly into the Folder B. But in the file adapter use the option 'Use Temporary File'. In that case until and unless the file is written fully the file will be having the name .tmp or so.
    The advantage will be the third party server could be polling the folder B for a file *.txt in that case it won't pick this .tmp file.
Cheers
JK
PS: Award points if this helps you.

Similar Messages

  • FMS  - change directory where the log files are located?

    I want to change the logs files directory from:
    C:\Program Files (x86)\Adobe\Flash Media Server 3.5/logs
    to:
    D:\fmsLogs
    Please halp me to understand...
    in adobe in:
    Home / Flash Media Server  3.5 Configuration and Administration Guide / XML configuration files reference
    it says:
    in Logger.xml in Directory
    Specifies the directory where the log files are located.
    By default, the log files are located in the logs directory in the server installation directory.
    Example:
    <Directory>${LOGGER.LOGDIR}</Directory>
    what this meens: ${LOGGER.LOGDIR} ?
    in order to change the logs files directory from:
    C:\Program Files (x86)\Adobe\Flash Media Server 3.5/logs
    to:
    D:\fmsLogs
    do i need to write this:
    <Directory>D:\fmsLogs</Directory>
    or what do i neet to write?
    it is totaly not understandable from this example...
    big thanks for any halp
    cheinan

    You can change LOGGER.LOGDIR in fms.ini to your preferred location i.e. D:\fmsLogs and restart FMS.
    Now if you want to change for individual logs - you can change in Logger.xml - by default logger.xml will use value from fms.ini

  • Cant update to ios5: need somehow change directory where iTunes saves ipad backup

    As you know, itunes backs up mobile devices in this directory C:\Users\****\AppData\Roaming\Apple Computer\MobileSync\Backup
    Itunes says that my ipad needs 44 gb of space to be backed up, but my C:\ disc is only 40 gb, and free space is ~15 gb. Also, as far as i googled there is no way to change that directory,  i.e. to D:\Itunesbackup. The irony is that after this update there will be no problems like i described.    
    P.S. Any data on ipad cannot be deleted - i must backup every bit of it, every 44 gb. Not even a signle app shall be deleted. And dont suggest to leave all as it is - i vastly need this update.

    I haven't tried it, but see if anything in this thread helps : https://discussions.apple.com/message/12842976#12842976

  • [HELP] Lost command in directory editor

    please help, I just accidentally deleted command in directory editor.
    The command is SystemAdministrator
    please help me to recover that back in my directory editor...

    Two choices left - download iPhoto Library Manager - http://www.fatcatsoftware.com/iplm/ - and use its rebuild command - this will rebuild yoru library leaving the original untouched so you can go back to it is things do not make yo happy - this will keep your edits, metadata and events but will not keep projects
    If that does not work Right click on the iPhoto library and show package contents - look in the masters folder - are your original photos there?  If so (and if you have adaquate disk space) duplicate the masters folder and rename the iPhoto library "iPhoto library old" - depress the option key and launch iPhoto ancd create a new library - drag the masters folder to the iPhoto icon in the Dock to import your original photos with your events
    This will give you a new library with your originals - edits, projects and metadata changes will not be available
    And critically start Time Machine up and leave it running
    LN

  • Where is the command line in the directory?

    I am relearning Java programming and doing an online tutorial.
    I went ahead and dowloaded the JDK program (jdk-6u3-windows-i586-p-iftw.exe) from Java's website and put it in a folder on my computer. I also have a BigDebt.java program on my computer....but the tutorial is telling me to put this command "javac BigDebt.java" in the directory where my program is saved to compile the program. Do I type in "javac BigDebt.java" in the Address line in the folder or where do I type this? Thanks.

    PZPZ wrote:
    If JAVA is an open-source programming language, when someone creates an application with it, how does one protect their code (their software business) from other people viewing and copying it? Worry about that when your code is good enough that someone would want to steal it and it would damage you if they did so. The short version is by obfuscation, which it not a very strong measure, or through license agreements, or by running the sensitive code on a server, so the client never sees it.
    And what are some really cool games that have been made with only JAVA or do people use JAVA with other programming languages to create games and applications?Don't know. Not into games.
    Also, it's Java, not JAVA. It's not an acronym.

  • Where are the settings for the "open" command, located at /usr/bin/open?

    I have Windows XP installed on a partition on my Macbook and I use Parallels to access some of the Windows applications.
    When I am in Mac OS X, and I don't even have a virtual machine running, if I enter the following command in the terminal, I get some really strange behavior:
    /usr/bin/open -a firefox http://localhost/~myname/somewebpage.html
    The open command will launch firefox within Mac OS X and display the page, but, it WILL ALSO TRY TO LAUNCH FIREFOX VIA PARALLELS. So, it starts a Parallels session and tries to launch Firefox. I see the Firefox icon in my dock twice, once normally, and once with the Parallels version of the Firefox icon. But, I cannot view the Parallels instance of Firefox.
    In order to debug this, I removed Firefox from Mac OS X (deleted Firefox.app from my applications folder) and I un-installed it from the windows partition using Add/Remove programs in windows.
    Now, running the open command as stated above launches Safari in Mac OS X and it still launches parrallels.
    Where is the list of application associations that the "open" command uses? I assume there is some incorrect associate that is causing this but, I have no idea how to find it.
    Thanks in advance for any advice you can give.

    Thank you for your reply.
    I actually checked out the man page for "open" but, I was unable to find LaunchServices in the finder. I was hoping there would be some sort of manifest, or application map, within LaunchServices that might be the source of my problem.
    Regarding using the full path: Good suggestion. That will clear it up when I use the command line, or if I were writing my own app, etc...unfortunately, I became aware of this problem because Netbeans is using the command in the abbreviated form I posted above (to launch web applications I am debugging), and I can't edit it.
    I removed Firefox from both Windows and Mac OS X on my machine, and tested the Netbeans functionality, it launched my application in Safari with no errors. I reinstalled Firefox on my Mac OS X partition and selected it in Netbeans preferences as the browser to use when debugging an app. When I tried to debug an application in Netbeans again, I got the same behavior...parallels launched. Ugh.
    There was a folder, on the Windows side of things, called something like Parallels\Shared Applications. It had a shortcut to Firefox in it but, I removed that before doing my testing. I was hoping there would be something similar on the Mac OS X side but, I haven't been able to find anything.
    Thank you both for your help. I think I might need to visit the Parallels forums for this one.

  • Changing directory at command prompt

    when I try to change the directory to java at command prompt line it says invalid file name. I have check the path and it is fine. What is the problem?

    What operating system?
    If Windows, and the path contains any spaces, enclose the path within double quotes. eg.
    c:\> cd "C:\Program Files\Java\1.4.0"
    Bhav

  • Open command in Terminal

    When I try to open a folder from Terminal using the open command, instead of a Finder window opening for the folder, another Terminal window opens up with contents like the following:
    *Last login: Sat Nov 14 16:14:45 on ttys001*
    *jt-imac:~ terrator$ /Users/terrator/Music ; exit;*
    *-bash: /Users/terrator/Music: is a directory*
    logout
    *\[Process completed\]*
    In addition, I get the same symptom when I try to open folders from the Dock and Spotlight so I think the problems are related.
    I have done the following in trying to resolve this problem:
    1. Repair permissions and repair disk with Disk Utility using the Installation DVD after booting from it.
    2. Repair LaunchServices using Onyx
    3. Created a test user to see if this user has the same problem. No, the problem doesn't happen in this user.
    4. Deleted the com.appl.terminal.plist and some other plist files.
    5. Reinstalled Snow Leopard on top of my existing installation.
    None of those attempts have resolved the problem.
    Anyone has any ideas on how to resolve this problem?

    For Terminal.app I don't see anything with name "Folder" but I see one with roles "Editor":
    The Terminal does not execute anything. It is a character terminal emulator that is connected to pseudo (fake) serial terminal device (/dev/pty**)
    The other side of that pty device is attached to an independent process that happens to be running a shell of some kind (default being the bash shell).
    The shell will create child processes on demand and run commands requested by the user. Any text send to standard out or standard error by the shell or any of the children processes started by the shell, will be sent to the pty and the Terminal will read the other side of the pty and display the text in the Terminal window.
    The Terminal will also listen to the keyboard, and send any text you type to the pty where the shell or a child process created by the shell will read the other side of the pty and do what you tell it via the keyboard.
    That is the Terminal's job. communicate through this fake serial device. It does not execute commands. I knows nothing about Folders, nor files, nor TYPE/CREATOR fields, nor file type suffixes. Just reads text you type, and displays text sent back from the shell or its child processes.

  • PSE 5 Error "could not complete the open command because of a program error"

    I have been using PSE 5 for years but all of a sudden when I try to open multiple files "could not complete the open command because of a program error" appears.  I have reformatted my computer and reinstalled all programs & updates but still get the error.  I am trying to access photo files in a specific, user created, directory on my computer; the funny thing is that if I access files in the My Documents\My pictures\ Sample pictures folder I am able to open all the files.  Any and all help or suggestions are welcome.  Thanks

    When you choose liquify command it says "Could not complete the Liquify command because of a disk error." so nothing at all happens other than the error message
    There is plenty of room on my scratch disks --lots of it
    Tried using a smaller selection using Marquee Tool to outline a smaller area near where I want to Liquify.  makes no difference.  tried a small file as well.  no ability to use liquify.
    This is really weird.
    keep probing the depths of your mac ideas, as I am going a bit nuts with this, friends

  • 'sudo open' command doesn't propagate privilege

    I have an application folder (.app) which requires root privilege for capturing network packets. I tried to execute with 'sudo open foo.app' but came back with permission denied error.
    So I changed the directory down to foo.app/Contents/MacOS/ and run the actual binary with sudo command instead. The binary run fine without permission problem.
    I did 'sudo bash' to create a root shell and run 'open foo.app', it still came back with permission problem.
    I am not a Mac experience user, is the 'open' command supposed to stop the root privilege?
    Many thanks
    Joe

    Don Kuan wrote:
    Just found out that's what open does. I guess I need to find out how to run Xcode in sudo.
    AFAIK, there is no better way to do it than using what you did
    sudo foo.app/contents/macos/foo &
    Thanks anyway
    Joe

  • Open command for Appleworks Imac G5 OS 10.4.2

    When I use the open command from the file menu it takes 20secs before the document window appears, same when I save as or save for first time.
    Also occurs with Office 2004 applications and other applications but strangely not with "pages trial"

    You have 10.4.11 Macs that iTunes can connect to the iTunes Store???
    I was pretty sure they changed to a minimum of 10.6.8
    Are downloading iTunes 9.2.1 from here...
    http://support.apple.com/kb/DL1056

  • Command line: Error: unable to open '/Applications/flex_sdk_4\frameworks\flex-config.xml'

    Hi,
    I am new to flex. I am trying to use the xmp sdk to create custom file info panels in photoshop.
    I am going through the example show in the adobe documentation 'Building a panel with Flex SDK'
    I got any running and I got all the files setup in the proper folders but I cannot for the life of me figure out why I keep getting this error.
    Buildfile: /Volumes/three/2011/XMP/test project/build.xml
    clean:
    buildPanel:
         [echo] --> Panel 'Test2'
        [compc] Adobe Compc (Flex Component Compiler)
        [compc] Version 4.5.1 build 21328
        [compc] Copyright (c) 2004-2011 Adobe Systems, Inc. All rights reserved.
        [compc] command line: Error: unable to open '/Applications/flex_sdk_4.5\frameworks\flex-config.xml'
        [compc] Use 'compc -help' for information about using the command line.
    BUILD FAILED
    /Volumes/three/2011/XMP/test project/build.xml:20: compc task failed
    Total time: 616 milliseconds
    thanks,
    digitalkyle

    can you tell us where your services-config.xml file is
    located. can you make sure it is right under the "src" folder of
    the Flex Builder project.
    Hope this helps.

  • How to pass command-line options to app using the "open" command?

    I am using jedit, and since I'm doing a lot of stuff in a shell, I'd really like to launch it from the command line as though I'd opened from finder, so I wrote a script that contains this:
    open -a /Applications/Jedit.app "$@" &
    This works well for everything except NEW files, where I get this error:
    2007-02-16 19:29:48.072 open[1032] No such file: /Users/millerti/projects/ateon/new_file
    Is there a way I can override this?
    So, it occurred to me that I might try running jedit directly this way:
    /Applications/Jedit.app/Contents/MacOS/jedit -- "$@" &
    The trouble is that this suffers all sorts of weird problems. For instance, if there's already a jedit running, it launches another one (despite the fact that -server is default). Moreover, the file it opens, existing or not, is not the one I specify. If I'm in ~/mydir and I open ./myfile, jedit opens instead /Applications/myfile.
    Obviously, I'm doing something wrong. Can someone help me figure out what open is doing internally so that I can launch jedit compatible with how open does it so that I can both open existing files and create new ones the same way from the command line?
    BTW, I can make more complex script.
    Also, if this isn't the right forum for this, can someone tell me where would be a better place to get the question answered?
    And I'm not expecting to get jedit support here. This isn't a jedit problem because it's behaving correctly.
    Thanks.

    Applications rarely take command line arguments. I don't know anything about Jedit, whether that is an exception, but you are not sending an argument to Jedit with the open command. The file name on your command line is an argument to the open command. The open command says "open this file with the specified application". The application doesn't see the argument. It sees the file exactly as if it were opened from the Finder. That's why naming a non-existent file doesn't work.
    What if you open Jedit with no file, create a new document in the application. (Again, I am not familiar with Jedit.)

  • Working off Server (open command resetting)

    I have just started a new job and we are required to work off a server. I have never worked off a server before and I am getting so annoyed with the open command from applications. Everytime I go to open something I have to naviagate back into the server and through the dozens of folders to open a particular file. Is there a way to make the open command remember it's last position when working like this. It works fine for local files so why not remote files?

    Just to clarify - this is where i get to and after somehow right-clicking and opening this red-marked folder, the contents are seemingly empty
    However I tried drag-dropping the folder to the field where you browse for backup and it found contents as it requested passowrd for archive. I input it but then get this:
    And If I want to create one, I get the "Invalid hostname" error and can not continue
    What now?

  • No Thumbnails on "Open" Command in Editor

    I've been using Photoshop Elements 10 since early August and it's been working well.
    However, since yesterday, when I use the File/Open command in Edit to get a new picture, I no longer see thumbnails, just a graphic of an orange flower.  The pictures (mainly JPEG with some RAW/NEF) still open fine and if I single click one of the orange flowers I get a preview at the bottom of the Open screen.  However, this is far from convenient.  FYI, I usually work set to "large icons" but I've tried all the different size settings.
    FYI, I've recently bought a new computer with Windows 7 Professional 64 bit and reinstalled PSE10.  However, all was working fine immediately after the change of computer and the lack of thumbnails has only just started.
    Any thoughts?

    In view of the crickets in here, I've found my own solution.
    Under Control Panel/Folder Options/View there's a tick box saying "Always display icons, never thumbnails".  I've no idea how it got ticked but unticking it fixed my problems.
    Hope this helps somebody in the future.

Maybe you are looking for

  • Remote desktop and smart cards

    I frequently work from home using my mac to access my windows based desktop at the office. I use the microsoft remote desktop v. 1.0.3. for MAC. Now that my agency is moving to smart card identification requirements for access I need to be able to us

  • When reflow text; How to change paragraph automatically when changing frame

    Hi Im new to indesign scripts, but thought that this maybe was the right forum to ask the following question. (Im using Adobe Indesign CS.5 ) Im currently trying to import a file (word file / excel both is possible) into an indesign book and formatti

  • Mac Factory Reset

    I am almost in tears, I am sick, I have the flu. Yesterday I was using my 13" Macbook Pro with Retina Display, no problem what so ever! Today, I am sick, I am tired and I need to work on my homework assignement, I open my Mac and everything seems to

  • Calendar photo quality problem

    Is there anything that I can do to improve on the low quality print warning that shows up on many of my calendar photos? Is there some adjustment other than selecting fit to frame? Many of these photos were emailed to me from relatives. Most of them

  • Does track end jump trump chapter or story end jump?

    I have a DVD with 1 menu & 3 tracks. Tracks 1 & 2 each contain l short video (different audio or video formats) and track 3 contains 3 short videos which I have broken into 1 story w/3 chapters. On track 1, there is 1 chapter marker and I have set it