problems with the command-line command pc

on the side of mac, I work from command line. But on the pc side I can't understand this.

on a mac, this is

deleteF="rm -r "+myNumPhoto.slice(0,39)+"imaging/*";
      app.system(deleteF);

on the PC I'm trying to do the same thing with this.

deleteF = "RD/s \\TEST\test".

It runs the command, but I get the system cannot very well the specified file.

If I run the slashes on the other hand, it works not at all of the suggestions would be greatly appreciated.

much of the problem was with all the obliques. They must return the characters. That said I ended up doing a string. Here's what I used.

    myNumPhoto=app.document.presentationPath;
    s=myNumPhoto.slice(0,42)
    s.toString();
    s=s+"imaging";
      deleteF="RD /S /Q "+s;
      addF="MD "+s;
      app.system(deleteF);
      app.system(addF);

I had to delete the folder, and then add it in back on the PC because the command RD except no wildcard characters.

Tags: Bridge

Similar Questions

  • Problem with the command line APEXEXPORT after upgrading to 3.2

    Hello

    After the upgrade to 3.1.2 to 3.2 Apex (upgrade went well), I get the following error message when you try to do an export of command-line applications:

    Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/apex/APEXExport (unsupported major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0 (Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    in java.net.URLClassLoader.access$ 100 (URLClassLoader.java:55)
    in java.net.URLClassLoader$ 1.run(URLClassLoader.java:194)
    at java.security.AccessController.doPrivileged (Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)

    Any ideas? It worked perfectly fine before the upgrade... I use Oracle 10.2.0.4 database JDBC jar files.

    Thank you
    Matthias Hoys

    Hello

    Machines virtual Java is backward compatible, so you can use the JDBC 1.4 with JVM 1.5 or later without problem, no need to download new classes.

    And Yes, I think that it is best to go directly to JDK1.6... Here I have 1.6 and use the tool to export Apex with the 10g JDBC classes without problems.

    Luis

  • I have a problem with the command prompt.

    Original title: cmd.exe

    I have a system where this problem started a couple of weeks.   When I run a command to a command (any order), it displays the results as expected.  But if I run the command with "cmd /c command", for example "cmd /c date", the screen is erased before the result is displayed.  It is also a problem if I am using perl or python or any other tool when I run a system command and wait to capture the output.  There is always a pagefeed at the beginning of the output character.  Because this behavior started recently tried to restore the system to a point where I knew that this was not the case.   But that did not help.   Any ideas?

    Thank you
    JHS-

    OK, you can ignore it.  I thought about it.   I had created an autorun.cmd file which included a cls command.

    Sorry for the noise.

    JHS-

  • Problem with the commands pack/unpack

    Hi friends, I have a problem.

    I have 2 boxes of physical, 192.101.1.104 (1) 192.101.1.102 (2).

    (1) I have installed weblogic 10.3 on the first box and created a domain it and server administrator.
    (2) I opened the admin console and created 2 managed servers (i) (ii) MS1, MS2 that both are created under "192.101.1.104". I created a machine (Machine A) and awarded the two servers so that 'Machine - A'. I started Node manager in "192.101.1.104" and I am able to see its available.
    (3) now, I installed weblogic server (Server bare no field) in "192.101.1.102" and I installed as shown below

    Will be installed the JDK and the following products:


    WebLogic Platform 10.3.4.0
    * | ___WebLogic server *.
    * | | ___Core application Server *.
    * | | ___Configuration assistant and modernize the framework *.
    * | | ___Web 2.0 Server HTTP Pub - Sub *.
    * | | ___WebLogic SCA *.
    * | | ___WebLogic JDBC Drivers *.
    * | | ___Third party JDBC Drivers *.
    * | | ___WebLogic Server customers *.
    * | | ___WebLogic web Server Plugins *.
    * | | ___UDDI and Xquery Support *.
    * | * ___JDKs
    * | ___SUN SDK 1.6.0_21 *.

    Scheduled installation size: 914,1 MB


    Because I want to use "192.101.1.102" for just for managed servers.

    (4) now, I used the pack command in my "192.101.1.104" box to pack the field so that I could use this field packed in "192.101.1.102" box.

    It's the syntax I used for my order of pack in '192.101.1.104 '.
    */Home/staging/Oracle/middleware/wlserver_10.3/common/bin/Pack.sh-Gere = true - domain = "/ home/development stage/Oracle/Middleware/user_projects/domains/myDomain»-template="/home/staging/bea/user_templates/myDomain.jar "-template_name = ' My Weblogic Domain»-log=/home/staging/bea/wlscldompack.log-log_priority = INFO."

    She has created myDomain.jar file in ' / home/scene/bea/user_templates implementation.

    (5) I used the 'scp' command to transfer this file from '192.101.1.104' to '192.101.1.104 '. while I can unpack the jar file there.

    He transferred perfectly with defects.

    As I said in my "192.101.1.102" machine is seen naked weblogic server and no field

    under this directory (the two machines with the same directory structure)

    "/ home/Oracle/stage/Middleware implementation.

    the directory structure is (below the directory before unpacking structure)

    drwxrwxrwx 8 4096 27 Mar 16:23 jdk160_21 d87231 d87231
    drwxrwxrwx 2 d87231 d87231 4096 Mar 27 17:21 connects
    drwxrwxrwx 7 d87231 d87231 36864 Mar 27 16:23 modules
    d87231 d87231 - rwxrwxrwx 1 622 27 Mar 16:23 ocm.rsp
    -rwxrwxrwx 1 d87231 d87231 73531 Mar 27 16:23 registry.dat
    -rwxrwxrwx 1 d87231 d87231 2024 Mar 27 16:23 registry.xml
    drwxrwxrwx 8 d87231 4096 27 Mar 16:23 utils d87231
    drwxrwxrwx 9 4096 27 Mar 16:23 wlserver_10.3 d87231 d87231

    (6) now used the command to unzip below.

    /Home/staging/Oracle/middleware/wlserver_10.3/common/bin/unpack.sh-template=/home/staging/mydomain.jar-domain = / home/getting Scene/oracle/middleware/user_projects/domains/mydomain-log=wlscldomunpack.log-log_priority = INFO

    Its unpacked with out any problem.

    I went to the newly created directory structure

    which is under ' / home/Oracle/stage/Middleware implementation.

    d87231 d87231 - rwxrwxrwx 1 282 Mar 27 17:29 field - registry.xml
    drwxrwxrwx 8 4096 27 Mar 16:23 jdk160_21 d87231 d87231
    drwxrwxrwx 2 d87231 d87231 4096 Mar 27 17:21 connects
    drwxrwxrwx 7 d87231 d87231 36864 Mar 27 16:23 modules
    d87231 d87231 - rwxrwxrwx 1 622 27 Mar 16:23 ocm.rsp
    -rwxrwxrwx 1 d87231 d87231 73531 Mar 27 16:23 registry.dat
    -rwxrwxrwx 1 d87231 d87231 2024 Mar 27 16:23 registry.xml
    drwxr-x - 3 d87231 d87231 4096 Mar 27 17:29 user_projects
    drwxrwxrwx 8 d87231 4096 27 Mar 16:23 utils d87231
    drwxrwxrwx 9 4096 27 Mar 16:23 wlserver_10.3 d87231 d87231



    I see under


    * "/ home/development stage/Oracle/Middleware/user_projects/domains/mydomain/servers ' * '"



    *[d87231@localhost servers] $ pwd *.
    * / Home/development stage/Oracle/Middleware/user_projects/domains/mydomain/servers *.
    *[d87231@localhost servers] $*.
    *[d87231@localhost servers] $ ls - l *.
    Total 8
    drwxr-x - 3 d87231 d87231 4096 Mar 27 17:29 AdminServer
    *[d87231@localhost servers] $*.


    It is not created all the managed servers, even if I used
    '- handled = true' in my pack order.

    can any body if you please help me what was wrong with my work above.

    Another question, like when I'm unpacking in '192.101.1.102', it should ask me the new managed server names isn't?... why he asked me. I'm not sure my question is correct or not.

    My doubt is if the first box is to have 2 managed servers with names MS1 and MS2 and port 7003, 7005, managed server names should change in '192.101.1.102' box, correct me if I'm wrong. Ports are not required to change since the IP address is different.


    The 192.101.1.104 under mydomain/servers directory structure is

    * / Home/development stage/Oracle/Middleware/user_projects/domains/mydomain/servers *.
    *[d87231@localhost servers] $ ls - l *.

    drwxrwxrwx 7 d87231 d87231 4096 Mar 21 23:42 AdminServer
    d87231 d87231 drwxr - 3 4096 Mar 26 15:19 domain_bak
    drwxrwxrwx 7 d87231 d87231 4096 26 Mar 15:08 MS1
    drwxrwxrwx 7 d87231 d87231 4096 Mar 26 15:19 MS2

    The file config.xml in 192.101.104 is to be entered for these servers managed as well.

    This (192.101.1.104) physical server is to have 2 managed servers as I explained at the beginning, I ran the command of pack for this area. But the packaged jar file is not managed servers.
    Please see the light on this and please help me what mistake I make here.


    Thank you very much
    Peter

    I just tried the below scenario my test environment.

    *./Pack.sh-Gere = true - domain = / home/bonbons/myDrive/weblogic/user_projects/domains/portail-banc-template=/home/candy/myDrive/weblogic/wlserver_10.3/common/templates/domains/myportal.jar-template_name = "myportal" - log = myportal.log *.

    Portal-bench area contain - ms1, ms2 managed instance. This command will create a managed server template.

    Another box running the unpack command and created the new domain such as portalbench or same (managed server model) domain name.

    unzipped the domain correctly created.

    OUTPUT
    =====
    *./Unpack.sh-domain = / home/bonbons/myDrive/weblogic/user_projects/domains/portalbench-template=/home/candy/myDrive/weblogic/wlserver_10.3/common/templates/domains/myportal.jar*
    < read="" template="" from="">

    succeed: model read from ' / home/candy/myDrive/weblogic/wlserver_10.3/common/templates/domains/myportal.jar '.

    < set="" config="" option="" domainname="" to="">

    If you look at the file config.xml and ms1, ms2 directory will be unavailable after bring the managed server model, the config.xml and ms1, ms2 directory will be available.

    I enclose my domain server managed after decompression structure.

    .
    | - bin
    | | - nodemanager
    | | ' - wlscontrol.sh
    | | - server_migration
    | | ' - wlsifconfig.sh
    | | - service_migration
    | | ' - readme.txt
    | | - setDomainEnv.sh
    | | - startManagedWebLogic.sh
    | | - startWebLogic.sh
    | | - stopManagedWebLogic.sh
    | ' - stopWebLogic.sh
    | - config
    | | - config_bootstrap.xml
    | | - configCache
    || | - crc.ser
    | | ' - ver.ser
    | | - config.lok
    | | - deployments
    | | ' - readme.txt
    | | - diagnostics
    | | ' - readme.txt
    | | - jdbc
    | | ' - readme.txt
    | | - jms
    | | ' - readme.txt
    | | - nodemanager
    | | ' - nm_password.properties
    | | - Security
    | | ' - readme.txt
    | ' - start
    | ' - readme.txt
    | - fileRealm.properties
    | - init-info
    | | - area - info.xml
    | | - oraclehomesubs.xml
    | | - security.xml
    | | - startscript - unsub.xml
    | | - startscript.xml
    | ' - tokenValue.properties
    | - lib
    | | - hsql.jar
    | | - Portal - service.jar
    | | - portlet.jar
    | ' - readme.txt
    | - Security
    | | - DefaultAuthenticatorInit.ldift
    | | - DefaultRoleMapperInit.ldift
    | | - SerializedSystemIni.dat
    | ' - XACMLRoleMapperInit.ldift
    | - servers
    | ' - AdminServer
    | ' - security
    | ' - boot.properties
    | - startManagedWebLogic_readme.txt
    ' - startWebLogic.sh

    19 directories, 37 files

    Its works for me.

    Thank you
    Reverchon

  • I have a problem with the command window terminal

    I'm doing a bootable disc. I glue in the sudo command and can't go any further. When I am invited to my password it's like my keyboard is disconnected. Comparing what I feel for YouTube videos, I noticed that I see things a little differently and maybe that's the key and I'm open to suggestions. That's what I see after the command and click on back:

    Last login: Thursday, August 11 at 17:20:16 on ttys000

    : ~ * sudo/Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia--volume/Volumes/ElCapInstaller--applicationpath Applications / Install\ OS\ El\ Capitan .app X\ - nointeraction

    CAUTION: Improper use of the sudo command could lead to data loss

    or the deletion of important system files. Recheck your

    If you type when you use sudo. Type "man sudo" for more information.

    To continue, enter your password, or type Ctrl-C to abort.

    Password:

    After the password: is a small logo, a rectangle with a key in it. At this point, I am unable to type anything, the back button still works, but I'm unable to type anything later. What I'm doing wrong or not understanding? I'm new on this.

    Password entry is not included. It seems that nothing is entered, but everything you type is received. Type your password, and then press return. You will then receive a short prompt asking you to enter 'y' or 'n'. The first will take action. The abandonment of the latter.

  • Problem with the command net user. Please help ASAP!

    What is happening on Windows XPI logged on as administrator on my computer, then in the command prompt, I typed: net user administrator active: / Yes (and pressed enter). After that I restarted the computer, I can not connect, and was my password (password). Please help me as soon as POSSIBLE. Thank you!

    Your syntax is incorrect for the command "net user".  You probably wanted to enter the command:

    NET user administrator / Active: Yes

    The syntax of the command 'net user' (according to this article) is:
        net user [Username [password |]] *] [options]] [/domain/domain]

    All options begin with a forward slash character (/)

    By omitting the character "/" before "active:", you have probably changed the password of user 'Administrator' in "active:" or "active: / Yes" depending on whether you entered a space before the 'yes '.  Try to connect as an administrator when you enter that as your administrator password.

    HTH,
    JW

  • problem with the command stop and buttons

    Hello world.

    Here's my scenario

    I have a project where I have 5 buttons (all on separate layers) I want to put a link to the image 2, image 3, image 4, part 5 and part 6.

    Thus, for example, I want my topic is to link to the Framework 2 and last new button, to link to the image 3

    The separate pages are housed on the layer 'layer of page '.

    Please see the image below to see what I mean

    screenshot.jpg

    I'm using the code snippets in cs5 to do this, so I am using the command "click go to frame and play" and change the number of the framework accordingly.

    My problem is when I use the command to stop on the first frame. If I do not use the command the swf allows to select the 6 images constantly, but when I use the command stop buttons do not work because the application has stopped.

    Anyone could shed some light on this problem?

    It may be a case for the use of your gotoAndPlay() where you need gotoAndStop().  If you are on the frame you say to go to play, he can't go anywhere to get there, and stop it is already sold out, so it will play thru to the next stop.

  • problem with the easy line of site Web

    I have a problem with a site called easy line. It's using words on my ebay page to link to advertisements.

    No idea how I can get rid of him?

    Do a check with some malware malware, analysis of programs on the Windows computer.

    You need to scan with all programs, because each program detects a different malicious program.

    Make sure that you update each program to get the latest version of their databases before scanning.

    Alternatively, you can write a check for an infection rootkit TDSSKiller.

    See also:

  • Problem with the command "save target as".

    When I use the ' save target as ' congratulate some sort box 'Close this dialog box when download is finished' got checked. The box disappears before I can disable the checkbox. How can I disable the checkbox?

    JustZoe,

    Welcome to the Microsoft Answers community. I found an article that can help you here:

    Uncheck close this dialog

    In addition, another option would be to do a System Restore to a point before that you made this change.

    I hope this helps.

    Lisa
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Problem with the pen, lines and smoothing tool tool

    I draw the line 1.

    il line 1.jpg

    Then I pause (click the arrow and then click on the new tool pen) and draw of the line 2

    il line 2.jpg

    When I finished there is a surprising gap in line 1 after the intersection of line 2:

    il line 3 gap.jpg

    Then when I use the resulting mixture too the abstract looks at-non-contigue with dashed lines:

    il line 4.jpg

    instead of something of a continuous and uninterrupted wave lines like:

    blend.jpg

    For me, the problem is clearly the gap appear but I do not understand why it appeared, when as shown in image 2, I clearly I paint complete lines.

    Please check if the lines (at least one of them) with a filling.

  • OfficeJet 6600/problem with the vertical line that appears both scanned and copied items

    There is a vertical line that follows the entire length of a page when I scan or copy.  Have cleaned the glass, it is not the effect.  Help

    Hi gljatlaw,

    I see that you are having problems of quality of scan.  I'll take a look at the document below.

    Scan quality

    Let me know how it goes.

  • Problem with the new line when you manually run a procedure in SQL * more

    The procedure below works fine in SQL * more when all EXEC < procedure_name > (parameter1, parameter 2,...); is placed on a single line
    SQL > exec cust_admin_util.create_schema (P_SCHEMA_NAME => 'SCOTT_01', P_SCHEMA_PWD => 'scott123', P_TBS_NAME => 'TRAG_TBS', p_temptbs_name => 'TEMP' );
    
    PL/SQL procedure successfully completed.
    I wanted to perform the same procedure with readability. So, I put each parameter on a separate line and try to run. But it's the slightest mistake out.
    SQL > exec cust_admin_util.create_schema
    (
    P_SCHEMA_NAME => 'TESTUSR_01',
    P_SCHEMA_PWD => 'scott123',
    P_TBS_NAME => 'TRAG_TBS',
    p_temptbs_name => 'TEMP'
    );BEGIN cust_admin_util.create_schema; END;
    
          *
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'CREATE_SCHEMA'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    
    
    SQL >   2    3    4    5    6    7
    P_SCHEMA_NAME => 'TESTUSR_01',
    *
    ERROR at line 2:
    ORA-00928: missing SELECT keyword
    No work around for this?

    Tom wrote:

    No work around for this?

    BEGIN
    cust_admin_util.create_schema
    (
    P_SCHEMA_NAME => 'TESTUSR_01',
    P_SCHEMA_PWD => 'scott123',
    P_TBS_NAME => 'TRAG_TBS',
    p_temptbs_name => 'TEMP'
    );
    END;
    /
    

    SY.

  • Problem with Xcode command-line tool

    Hello

    Last week I upgraded my macbook pro with the latest OS X Capitan and 7.3 of Xcode.

    I also installed the command line for Xcode Tools.

    But there is a problem because the "command-line tools" in Xcode do not work, for example, I am getting following error:

    MyMacBookPro-5: ~ make amitc$ xcrun

    xcodebuild: error: SDK '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer /SDKs/MacOSX10.10.sdk' is not found.

    xcrun: error: cannot find the utility 'make', not a tool of development or on the WAY.

    Does anyone know any solution to this problem?

    (I don't understand why he's trying of MacOSX10.10.sdk, while it must search for MacOSX10.11.sdk).

    With our thanks,

    Amit.

    You agree with the terms and conditions of the license?

    sudo xcodebuild-license

  • Problem with the DataExport command

    Hello Experts,

    Problem with the DataExport command in a calcscript (one's TIME and another is in the output file), tried using different option
    DataExportColHeader time; and
    DataExportOverwriteFile POWER

    (1) the second line in the output displays the month 'SEP', rather like a column. Here's the code used.

    (2) for the forecast, you would have several sections as example below
    (FcstMo (MS), FcstYr (2009) and AllMonths (JAN-dec), FcstYears (2010,2011,2012)).
    How to add in the same file can HOWEVER add us to the same file with multiple queries using DataExport patch, could not find option in the documentation.

    Code
    ------
    SET DATAEXPORTOPTIONS
    {
    WE DataExportDIMHeader;
    WE DataExportOverwriteFile;
    DataExportDecimal 8;
    };

    DIFFICULTY (@REMOVE (@RELATIVE("DepartmentID",0), "OR00777"), @RELATIVE ("goods and Services", 0 "),"AC8002602", CActVer, CurYr, 'EOP' & CurMo, @RELATIVE ("industry", 0))
    DATAEXPORT 'File' "" "/ opt/tools/arbor/hyperion/AnalyticServices/app/ExportfromMV7.txt";
    ENDFIX;



    Output file format
    ----------------------
    'Years' 'Versions' 'measures' 'Goods and Services' "DepartmentID" "Business line" 'BalType', 'Time '.
    "MS."
    '2009' 'ADMIRE' 'AC8002602' 'AC0000157' 'DI17801' 'OR00775' 'EOP' 100.00000000
    '2009' 'ADMIRE' 'AC8002602' 'AC0000157' 'DI17801' 'OR00776' 'EOP' 1000.00000000
    '2009' 'ADMIRE' 'AC8002602' 'AC0000157' 'DI17801' 'OR81305' 'EOP' 2000.00000000
    '2009' 'ADMIRE' 'AC8002602' 'AC0001904' 'DI17801' 'OR00775' 'EOP' 300.00000000


    Any help would be a great help.


    Thank you
    Jingle

    What is specified as you column size (should be a dense dimension) will appear in the second row. It shows you what each column of data. Even if you load not relational, you can specify the relational format. There is an interesting bug that has been fixed in 11.1.1.3 If the columns do not data, they have removed from the relational attraction, you can read more about this in my blog http://glennschwartzbergs-essbase-blog.blogspot.com/

  • Using Firefox 4 and Windows 7. Whenever I have to start Firefox from a shortcut to a Web site, what happens with the following error "there was a problem sending the command to the program". The requested site is loaded after that. without any problem.

    Using Firefox 4 and Windows 7. Whenever I have to start Firefox from a shortcut to a Web site, what happens with the following error "there was a problem sending the command to the program". The requested site is loaded after that. without any problem.

    If a shortcut is used while Firefox is already open the error will not occur.

    For me, the problem was the FoxClock extension. Once I disabled it, the problem was gone.

    Hope this helps.

    Olivier

Maybe you are looking for