File Path for Windows and Linux

hi can any one give solution how to implement code for odi file copy .
i am using Same Code for Windows and Linux
OdiFileCopy "-FILE=#Var_Lookup_File_Path \ Employee.csv" "-TOFILE=#Var_Lookup_File_Path_Backup\Employee.csv" "-RECURSE=NO" "-OVERWRITE=YES" "-CASESENS=NO"
the problem of above code is
it is working in windows but my Prod is Linux environment.
in linux \ not works.. / will work
please suggest how to concatnate variable and file without' \' '/'

Thanks Phani
i think in OS command also we may give path like #variable\File Name.
So how it will replace \ with / in Linux.
Could you give code for my Scenario..
Thanks for helping

Similar Messages

  • Oracle10G and oracle11gr1 for windows and Linux

    Hi
    Can you help me in getting these Softwares
    Oracle10G and oracle11gr1 for windows and Linux ,I am unable to get them .
    Thanks in advance
    Sanjeev Sen

    Oracle10G NOT SUPPORTED ANYMORE,NO SOFTWARE AVAILABLE TO DOWNLOAD TOO
    oracle11gr1 for windows and Linux > http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html

  • How is the performance of Mac Pro if i use it as host for windows and linux virtual machines.

    How is the performance of Mac Pro if i use it as host for windows and linux virtual machines.
    I am planning to buy a high performance PC to run my Windows and Linux servers as vitrual machines for my testing purposes.
    Initially i planned to build my own computer with recommended configurations but considering space constaints and cooling factors i think Mac Pro can be a choice. But need some inputs if Mac pro (Intel Xeon E5, 12 GB RAM) is good for running virtual Machines.

    You could even run Windows natively and still run your VM servers.
    I have seen reports and such on MacRumors and elsewhere - run Windows natively as well as VMs (can also do testing and run Mavericks in a VM under Mavericks)
    The fast internal PCIe-SSD, plus 6 or 8 cores, and 32-64GB RAM. Of course for $5,000 for 8-core, some Thunderbolt storage and 32GB/64GB RAM you can buy some serious hardware.

  • File Paths on windows and unix

    Hi
    I believe I read that when specifiying file paths in java, this is one aspect which is not platform independent. So if you develop something on windows which uses file paths if you wish to run it on unix you will need to change the syntax pertaining to the path. Is this correct?
    Cheers

    Well, generally file paths on unix and windows are very differently arranged, so it's actually fairly unlikely you'd want the same paths. Genarally files are either resources, best accessed with getResource/getResourceAsStream or they ought to be variable, perhaps stored in configuration (it's well worth getting to know java.util.prefs.Preferences).
    And I usually find that if I'm dealing with a directory heirarchy relative to some base directory the two parameter File constructor is cleaner than mucking about with path separators.

  • External library Same name of lib for windows and linux

    I have a VI library, under Windows. This library contains a bunch of SubVI who call our libAPI.dll We are currently adding support for Linux. And, thus, have the equivalent for our libAPI.dll which is libAPI.so for Linux. Is it possible to use a generic name in the field for Library name or path API (without .dll or .so). So that when we will create of Linux version of this library we wont have to edit all of the Library name or path for each VI. We already tried to use the subVIs under Linux. Labview asked to locate libAPI.dll. If we choose libAPI.dll, then it works fine, but we do not want to have a question asked to the user about locating API.dll under Linux.
    Regards,
    Nitrof

    Use "libAPI.*" in the call library function node configuration page.

  • Enterprise or Standalone CA for Windows and linux computers

    Hi
    i plan to deploy a certificate architecture mainly for our internal web server and no more receive the certificate warning pop up
    So first i will install an offline Root CA
    Then i will setup a subordinate CA
    My question is about the type : standalone or Enterprise since i have both Linux and Windows computers ... maybe an enterprise AND a standalone to manage both ?
    Thanks for your help

    The easiest way (but not the most secure of course) is to install IIS on the enterprise sub CA with single website serving static content. Then set CA to publish the CRL in the directory where website is pointing. Add CDP location as follows:
    http://caname.contoso.com/<crl file name> where CRL file name is the name under which CRL is published.
    Keep in mind that since you'll have offline root CA to set CRL expiration time to some long period (you'll need to publish it again before the expiration time occur, so 2 days for an example is not okey.). Also the enterprise CA will publish new CRL on very
    short period and you must ensure it will be accessible by all clients ASAP (Not to mention delta CRL where publishing period is even shorter).
    The type of the CA (standalone or enterprise) has nothing to do with the CRL publishing (except that Enterprise can publish in Active Directory automatically, standalone only on file system). Both can have ldap://, file:// or http:// CDP and AIA endpoints.
    It's up to you to send the CRL file to this point. Also as Zelliptic says, any web server (IIS, Apache, Ngenx, etc) can serve as CRL/AIA endpoint - it's just static files at all.

  • Need tuxedo8.1 license of type SDK (for windows and linux)

    CMDTUX_CAT:4382: ERROR: You do not have a valid SDK license
    I get this error when running this command -buildserver.
    I downloaded the entire 8.1 package and found that it had a license of type RTK
    I want a License of type SDK with JOLT.
    If anyone has one, please do send me.
    I need SDK license for 8.1 and/or 9.1 (windows and/or linux).
    If anyone has a license of SDK type, please send me. My mail ID: [email protected]
    Also, how do we update the license in window?
    thanks in advance,
    Anish Kumar

    Hi Anish,
    Assuming you are covered by the appropriate licenses, you may download license keys for Tuxedo and related products here . Append the license key files you require into a single file called lic.txt and place it in the udataobj directory of the Tuxedo installation.
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect

  • 11g For Windows and Linux 32 Now available for Download

    for your information only ;)

    Have not been able to learn all the ins and outs for 10g yet....~:))
    Ben

  • Executing WINWORD from both Windows and linux using Java

    Dear All,
    I have a problem when trying to use Runtime class to execute a winword document. My code is as follows.
    Runtime r= Runtime.getRuntime();
    try{
    r.exec("rundll32"+" "+"url.dll,FileProtocolHandler"+" "+"WINWORD"+ " "+"file://C://welkom.doc");
    catch(Exception ex){
    System.out.println("Unable to open the doc file:"+ex);
    When I execute this swing application with the above, the program is unable to open the specific file. And it says "Problem with the short cut, unable to open the file". When I run the program without the file name, it opens a new doc file.
    Attn: what I want to do here is I need to open the winword file from both windows and linux. So I cannot use the relative path of the WINWORD.exe file.
    Can anyone help me?
    Thanks in advance.
    Regards,
    Bala

    If you take a look at the api, there's an exec(String[]) method. This is the one you should use when calling a command with multiple parameters.
    so something like...
    String[] cmd = new String[] {"rundll32", "url.dll,FileProtocolHandler", "WINWORD", "file://C://welkom.doc"}
    r.exec(cmd);

  • Multiplataform Licens? Windows and Linux

    Can the same licens of 10g 2 work for windows and linux envieromment, or it is necesary to buy different licens for windows and other different for linux. thanks

    Hi,
    As far as I know, if you will install and use ORACLE RDBMS software both on Windows and on Linux, you must have separate licenses for Windows and Linux.
    However, if you have installed the Oracle DB software on Windows only and you want to transfer your database to a Linux box, then you do not have to buy another license. This is of course the same if you're going from Linux to Windows. But not both at the same time.
    You will have to obtain new CD Install Packs to migrate from platform to another.

  • Physical Path in File Adapter for Windows Server

    Hi There,
    I am trying to read a file from a directory on a windows server and write it to the same server in a different directory.
    In the file adapter I gave the value for physical path as below:
    "\\10.xx.34.xxx\Share\input".
    However I am getting below message in the debug:
    "Value specified for input Physical/Logical Directory is not a directory or is not readable."
    Hence my question is what should be the value in the physical path for windows server.
    Thanks in Advance
    Krishna
    Edited by: user452458 on Jul 19, 2010 11:30 AM

    Thanks for your reply again.
    Actually they are not on the same file system.
    I have successfully used FTP Adapter to connect to a UNIX server.
    However is it possible to use FTP Adapter for Windows Server. If so how should be the corresponding JNDI defined.
    I am getting below error when I use FTP Adapter for Windows Server:
    Unable to send file to server. [Caused by: A remote host refused an attempted connect operation.]
    ; nested exception is:
         ORABPEL-11429
    Error sending file to FTP Server.
    Unable to send file to server. [Caused by: A remote host refused an attempted connect operation.]
    Please ensure 1. Specified remote output Dir has write permission 2. Output filename has not exceeded the max chararters allowed by the OS and 3. Remote File System has enough space.
    Please Advise.
    Thanks
    Krishna

  • Search c:\ drive and return file path for winword.exe and save as variable

    Hi all, here is what I'm trying to do;
    1. Search C:\ drive for winword.exe
    2. take the file path and save it as a variable.
    3. Then based on the path value, use the switch statement to run "some command" 
    Essentially I'm trying to find what the file path for winword.exe is, then run a command to modify the registry.  I already have the script that will modify the registry like I want but the problem it, the path is hard coded in the script, I want to
    now look for all versions of word and set the right file path so I can make the right registry changes.

    This should get you started:
    http://ss64.com/ps/get-childitem.html
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

  • I have adobe acrobat pro for windows and it is freezing up when I try to convert a word file to pdf... I have tried to get this done six ways from Sunday but it is just not working... help!  Chris.

    I have adobe acrobat pro for windows and it is freezing up when I try to convert a word file to pdf... I have tried to get this done six ways from Sunday but it is just not working... help!  Chris.

    It would be helpful to know what version of Acrobat, WORD, and operating system.
    Without that info, I would suggest at this point to open your WORD file and then go to the print menu and print to file using the Adobe PDF printer. Open the created file in Distiller and see if you get a PDF. If so, check to see if AcroTray is running in the background.
    You say you tried many ways. It would help to know what you tried and what worked or did not work, and at what point the failure occurs.

  • Giving file path in unix and windows

    hi,
    i'm having problem with reading file from both windows and unix as now i give
    if (os == win)
    file="mydir\\mydir1\\myfile"
    else
    file="mydir/mydir1/myfile"
    wherei get mydir* from environment.
    and then open that file.
    but i feel the above is clumsy and is more like C #ifdef
    Can you please help me out on this.
    Thanks & Regards
    Rajkumar

    hi,
    use the System property "file.separator" to figure out the seperator.
    for eg
    java.util.Properties prop = System.getProperties();
    String separator = prop.getProperty("file.separator");
    System.out.println("separator :" + separator);hope that helpz
    cheerz
    ynkrish

  • Differences on Windows and Linux JVM about java.util.zip package

    Hello, there!
    I need some help if someone else has already face this problem.
    I have a Java server that process the bytes of a SWF File stored in the server and ouptut it to the user through a Servlet. The file was decompressed and re-compressed using the java.util.zip package (Deflater/Inflater).
    Everything works fine on Windows Server 2008 server. But now we need to migrate the server to Linux. The problem is that when I test the website now, the file seens to be corrupted.
    What really intrigues me is that everything runs normal on Windows Server configuration, when changed to Linux, the final file seens to be corrupeted... what could possible be the cause? Is there any difference between java.util.zip package on Window and Linux JVM?
    My Windows Server is:
    . Windows Server 2008 (6.0 - x86)
    . Apache 2.2.11
    . Tomcat 6.0.16.0
    . Java JDK 1.6.0_12-b04
    My CentOS Server is
    . CentOS 5.4 (2.6.18-164.15.1.el5 - i386)
    . Apache 2.2.3
    . Tomcat 6.0.16.0
    . Java JDK 1.6.0_12-b04
    Please, if someone could give me a lead, I would appreciate very much!
    Thank you all in advance,
    CaioToOn!

    ejp wrote:
    Thank you for the answer, but no. The path is correct.That's not what he meant. Zip file/directory entries are supposed to use / as the path separator. It is possible to use \ but such Zip files will only work under Windows. You may have erred here.Ohhh, I had really missunderstood what Ray said. But, I still think that this is not the problem, since the ZIP is a single SWF file generated by Flex SDK 3.4 and compressed in the ZLIB open standard (as in page 13, at [http://www.adobe.com/devnet/swf/pdf/swf_file_format_spec_v9.pdf|http://www.adobe.com/devnet/swf/pdf/swf_file_format_spec_v9.pdf] ). This is how Flash Compiler compress the files.
    jschell wrote:
    If the above suggestions do not solve the problem...Specify in detail with the exact steps used how you determined that it was corrupted.The reason why I believe the SWF is getting corrupted is that when it is loaded by Flash Player (in the client-side) the Player throws a VerifyError: Error # 1033. The [documentation says (see error 1033)|http://help.adobe.com/en_US/AS3LCR/Flash_10.0/runtimeErrors.html] that this error means that the SWF file is corrupted.
    As I said, what intrigues me is that this work perfectly in a Windows Server 2008 server. I just had setup a CentOS server and deployed the application. The client-remains unchanged, so why could the result change?
    raychen wrote:
    I would remove the side effect you are doing and send the file straight through, with decompress and compress, the servlet. It is more likely that you have a bug in your swf processor than the zip library.
    I had already tried it when first coding, in Windows Server 2008, it had not worked.
    Thank you all for the help.
    CaioToOn!

Maybe you are looking for

  • How do I recover my USB files?

    I attempted to eject my USB drive and the computer said it was not done correctly. I attempted ejecting it again and it worked so I took it out. Upon removeal it dumped some random files from the USB onto my desktop. When I tried to plug it back in a

  • JPA - "no Metadata found for type" exception

    I use WebLogic 10 with Kodo as the JPA implementation. When attempting to query the DB for an entity, I get this very weird exception: org.apache.openjpa.persistence.ArgumentException: No metadata was found for type "class com.verid.ims.model.Address

  • Ipad is showing as offline when using "find my iphone"

    Hi I am having trouble getting my ipad to be located using find my iphone.  This was working and has now stopped working (and did stop working prior to installing iOS 5 so im pretty certain its nothing to do with my software update the other day) I h

  • Can't get Apple USB modem to work in Boot Camp

    I've been struggling to get an Internet connection under boot camp/Windows XP for several days. Have an Apple USB modem and installed all the Apple drivers. Apple tech support says they can't help me with Windows (cop out). Both Microsoft and my ISP

  • J_security_check error 404 login twice.

    Hi, i encountered a problem with authentication based on form and containter. I have a login.xhtml (later mapped to login.jsf) page that contains: <form action="j_security_check" method="post">                         <div style="clear: both">