Old DOS commands that prompt y/n

My organization assigns every employee a personal drive on a network share. For some reason, be it old software installs or bad workstation backups, many users now have a Windows directory on their network share that we'd like to get rid of. Easy to script,
right? I already did that:
$userfolders = gci \\server1\users\*\
$count1 = 0
foreach ($userfolder in $userfolders){
$windowsfolders = gci $userfolder.FullName -directory | where-object { $_.name -like "windows" }
foreach ($windowsfolder in $windowsfolders){
$fullname = $windowsfolder.fullname
remove-item $fullname -recurse -force
$count1++
write-host "$count1 Windows folders removed"
and it was successful on 90% of the user drives, but quite a few users have old IE temp files with more than enough characters in their name to be over 260 characters and Powershell won't remove those. CMD using rd /S will, but that prompts you "Are
you sure? Y/N"
So how do I pass a "y" to a CMD command in Powershell?
[email protected]

For the record, passing old DOS commands in Powershell is a PITA. I ended up having to do this, because the "RD" command can't use a UNC:
$userfolders = gci \\pfil9903\users\*\
foreach ($userfolder in $userfolders){
$windowsfolders = gci $userfolder.FullName -directory | where-object { $_.name -like "windows" }
foreach ($windowsfolder in $windowsfolders){
$fullname = $windowsfolder.fullname
#remove-item $fullname -recurse -force
CMD /C "net use /delete z:"
CMD /C "net use z: $fullname"
CMD /C "rd /S /q z:\windows"
CMD /C "net use /delete z:"
But now I'm getting errors about z: still being in use:
CMD : The system cannot find the file specified.
At \\server\users\user1\Powershell\Users Windows Directory Removal.ps1:10 char:9
+ CMD /C "rd /S /q z:\windows"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (The system cann...file specified.:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
There are open files and/or incomplete directory searches pending on the connection to z:.
Any ideas?
[email protected]

Similar Messages

  • Run dos command that starts program and program stay open

    I'm running the following code,
    string m_file= "c:\program\program.exe" ;// runs a program
    Process myProcess = new Process();
    myProcess.StartInfo.FileName = @programtextBox.Text.Trim();
    myProcess.StartInfo.Arguments = m_file;
    String m_arguments = myProcess.StartInfo.Arguments.ToString().Trim();
    myProcess.Start();
    It works fine except I need the program to stay open that this command starts. But it closes while it's in the process of starting.

    I had a mistake in what I posted in my code. Here it is again with corrections, and more detail.
    string m_run= "c:\my programs\adobe\photoshope.exe" //This is saved in the program and can be set to any program the user wants to use. it's saved in the programtextBox.Text noted eailer, which is saved to the hard drive.
    string m_file= "c:\file\anypicture.jpg" ;// picture that is selected in the interface.
    Process myProcess = new Process();
    myProcess.StartInfo.FileName = m_run;
    myProcess.StartInfo.Arguments = m_file;
    String m_arguments = myProcess.StartInfo.Arguments.ToString().Trim();
    myProcess.Start();
    This is a windows form program.
    It looks to me like you're either redacting or modifying your actual code before posting.  I could be wrong about that, but I'm pretty sure because:
    If you were calling Process.Start() against program files/adobe/photoshope.exe I believe that you'd get a Win32 Exception since I don't think that file exists in any photoshop installation.
    I sincerely doubt that you're actually working with "file/anypicture.jpg."
    I'm confused by the declaration of m_arguments which is never used.  I assume it is in fact used somewhere in your code.
    Finally, you have stated that the program to open files with is pre-defined, so I suspect that data is actually being pulled from a variable instead of from a hard string as in your "example."
    If that's the case then you might as well go shoot yourself in the foot, since that would do exactly as much good as asking for help with broken code and then posting pseudo-code instead of what doesn't work.  It's like telling an auto mechanic your
    car dies every time you hit 22 miles per hour, while delivering your bicycle for service.
    Content Removed

  • How to run stored procedure in DOS command line????

    Hi,
    I want to run a stored procedure in DOS command line?
    (My_Stored_Procedure is the stored procedure that I want to run )
    This is what I did in DOS prompt
    C:\>sqlplus scott/tiger exec lMy_Stored_Procedure <Return>
    Obviously it is NOT working. Please send me the correct way to fix this.
    Thanks so much in advance for helping.
    Cuong

    Billy  Verreynne  wrote:
    BluShadow wrote:
    True Billy, but even Windows hasn't completely got away from using the "DOS" word...Yeah - the command line/shell environment is based on that of the old DOS command interpreter. But Microsoft does not make the mistake of call it DOS.
    In fact, with earlier versions of Windows NT, a 16bit DOS real-mode virtual machine was supported. This was very kewl.
    Running a large BBS with multiple nodes back then required a DOS machine per node, an IPX network, and a Novell file server.Novell Netwars. ;)
    Ahhhh! good old DOS... so many good programs written at that low level, outside the Windoze environment.Yeah.. cut my teeth on writing code for DOS. Still have all my old BIOS and assembler manuals for it. Wrote my own screen s/w (write to a buffer and then move it into the video buffer, instead of writing char wise to the video buffer via interrupts), mucking about with my own concurrent threading model (using very simplistic cooperative multitasking) and so on. Heck, wrote tons of s/w on DOS... :-)Yeah I've still got a copy of my old machine code programs for writing to buffers and screen memory switching for smooth animation. Run them nowadays and they run like sh!t off a shovel. And all my old coursework including writing an interpreted language and multi-window (dos based windows) editor, parser and the code to execute the language and display the output. Oooo, and so much other stuff.
    Awesome back then as you got really intimate with the o/s and hardware. This is sorely lacking today in environments like Java. And I think the reason why so much code written today is less than optimal - to put it kindly.Exactly. Started for me on the Sinclair zx81 (writing Basic), then the Sinclair Spectrum (Basic and Assembly), then Sinclair QL (yes I really had one!) and then the BBC Master 128K (where I got to writing my own rom filing system and creating my own eproms, to integrate with the word processor for additional printing features etc. as well as storing games on rom for speedy loading - and I still have it and it still works!)
    It's that level of working with the underlying memory and assembly language that gives you the understanding of how values are passed between code using the stack and registers, and how memory allocation and referencing is done etc. As you say... it's missed in a lot of todays teaching, which just seems too high level and misses the basic concepts of things such as datatypes and why they are different. I bet half the modern programmers wouldn't have a clue how to do multiplication or division of binary numbers using the carry flag.

  • Old Dos Program

    HI all
    I've got an old dos program that has a feature that I cannot get to work in DosBox. Of course it just so happens to be the most important Part.
    Has any one got a way to run a old dos system in Full Screen Mode as a bundle?
    This would be most useful.
    Any Help would be most appreciated.
    thanks
    john

    Cheers for your help spond
    Also found this myself
    http://www.mydigitallife.info/workar...windows-vista/
    Think workaround 2 will be way forward for me
    Cheers again

  • Execute DOS command inside java

    I have a java program that reads each new user from an inputfile and writes that same user to an output file. The program works fine and is shown below:
    import java.io.*;
    public class FileStreamsTest {
    public static void main(String[] args) {
    try {
    File inputFile = new File("newbousrs.txt");
    File outputFile = new File("outagain.txt");
    FileInputStream fis = new FileInputStream(inputFile);
    FileOutputStream fos = new FileOutputStream(outputFile);
    int c;
    while ((c = fis.read()) != -1) {
    fos.write(c);
    fis.close();
    fos.close();
    } catch (FileNotFoundException e) {
    System.err.println("FileStreamsTest: " + e);
    } catch (IOException e) {
    System.err.println("FileStreamsTest: " + e);
    What I would like to do after each write is to execute a DOS command that looks something like this: supervsr.exe -USER username -PASS password -IMPORTUSERS importfile.txt
    The DOS command above will add each user to the system I want to as the loop goes through each user record.
    How do I execute the DOS command above inside java?

    Tried what but still having a problem...here is my code:
    import java.io.*;
    public class ReadSource {
    public static void main(String[] arguments) {
    try {
    FileReader file = new FileReader("newbousrs.txt");
                                  //FileWriter letters = new FileWriter("outagain.txt");
                                  //PrintWriter pw = new PrintWriter(new FileWriter("outagain.txt"));
    BufferedReader buff = new BufferedReader(file);
                                  Runtime rt = Runtime.getRuntime();
    boolean eof = false;
    while (!eof) {
    String line = buff.readLine();
    if (line == null)
    eof = true;
    else
    System.out.println(line);
                                                 Process proc = rt.exec("\\Blowfish\\droot\\Program Files\\Business Objects\\BusinessObjects 5.0\\supervsr.exe -USER xxxxx -PASS yyyy -IMPORTUSERS \\Blowfish\\droot\\accsp\\public\\newusers\\newbousrs.txt");
                                                 //System.out.println(line.substring(4, 10));
                                                 //System.out.println(line.substring(3,line.indexOf(',',3)));
    buff.close();
    } catch (IOException e) {
    System.out.println("Error -- " + e.toString());
    There error I get is this:
    C:\jakarta-tomcat-4.0.3\webapps\webdav\WEB-INF\classes\accsp>java ReadSource
    NU,Public,Steve Mcnealy,Steve Mcnealy,U,N,N,Y,N,N,PC,F,Y,N,N
    Error -- java.io.IOException: CreateProcess: \Blowfish\droot\Program Files\Busin
    ess Objects\BusinessObjects 5.0\supervsr.exe -USER accsp -PASS fish -IMPORTUSERS
    \Blowfish\droot\accsp\public\newusers\newbousrs.txt error=3

  • On video screen looks like old DOS auto color program and cannot remove

    HP a6547c PC on upper left of screen is what looks like an old DOS program that says LRW8898HZ0100RHNLO-T01
    Auto Color wish to remove it is on during all programs tried to reset and it returns

    Hi Rockeycarroll,
    I would like to help you with the issue you're experiencing. I would like to gather a little more information to ensure I can diagnose the issue quickly and accurately for you.Can you please answer the following for me please.
    1. Does the window in the top left say C:\Windowd\system32\cmd.exe  ?
    2. Can you tell me what operating system you have.
    3. Has the computer worked in the past without this happening?
    4. If this computer has worked in the past without the issue occurring can you think of anything you may have recently installed or uninstalled prior to it happening?
    I look forward to hearing from you and assisting you with this issue.
    Sunshyn2005
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • Is it possible to run a command prompt(or DOS Command) through flash and run a Activex(.OCX) file from flash

    Hi all
        Is it possible to run a command prompt(or DOS Command) through flash.If it possible please guide me to do that throug AS 3.0.
       and
    Is it Possible to run a activex (.OCX) file from flash. If it is so please guide me the way to do it
    Thanks and Advance
    Sankar.M.S

    Or create a desktop shortcut (in Windows) or an application launcher ( in Linux GUI).

  • Is it possible to run a command prompt(or DOS Command)  and Activex File(.OCX)

    Hi all
    Is it possible to run a command prompt(or DOS Command) through flash.If it possible please guide me to do that throug as 2.0. and is it possible to run a Activex File(.OCX) through flash.
    Thanks and Regards
    Sankar.M.S

    Or create a desktop shortcut (in Windows) or an application launcher ( in Linux GUI).

  • Running forms from DOS command prompt

    how do u run forms (*.fmx) from the DOS command prompt?
    TY in advance

    hi,
    In Developer 10g, you can not run the form in client/server mode. Your case is a form of client/server mode operation.
    To run froms in Oracle 10g, your must run on the web, that is, you must have http server installed.
    If you have successfully installed Oracle Developer Suite 10g, it has automatically installed and configured a working http server.
    all you have to do is to modify some config files in <devsuitehome>/forms90/server directory folder namely:
    1. default.env where you add your path for your library files as in of your library files
    (*.pll)
    2. formsweb.cfg where set the workingDirectory parameter to point to the location
    of your forms (*.fmx) files.
    You have also to install Jinitiator by executing the file <devsuitehome>/jinit/jinit.exe.
    Start your OC4J instance
    then you can run the form from form builder.
    regards,
    Mike

  • I am unable to change or delete my iCloud ID, it is prompting sign in using an old email address that used to be my Apple ID, others have had this same problem but the answer seems to be to delete the iCloud account but I can't do that.

    I am unable to change or delete my iCloud ID, it is prompting sign in using an old email address that used to be my Apple ID, others have had this same problem but the answer seems to be to delete the iCloud account but I can't do that, because when I select delete account it prompts me to sign in on the old email address which doesn't exist anymore!! Please help!

    Welcome to the Apple community.
    This feature has been introduced to make stolen phones useless to those that have stolen them.
    However it can also arise when the user has changed their Apple ID details with Apple and not made the same changes to their iCloud account/Find My Phone on their device before upgrading to iOS 7.
    The only solution is to change your Apple ID back to its previous state with Apple at My Apple ID, verify the changes, enter the password as requested on your device and then turn off "find my phone".
    You should then change your Apple ID back to its current state, verify it once again, delete the iCloud account from your device and then log back in using your current Apple ID. Finally, turn "find my phone" back on once again.
    This article provides more information about Activation Lock.

  • Error 57 in invoking sqlplus command from DOS command prompt in Oracle Serv

    I have a Oracle 11G server which has suddenly shutdown due to power cut-off. Now when I restart the system and trying to connect to database invoking the sqlplus as sysdba from DOS command prompt - I am getting following errors
    C:\Documents and Settings\Administrator>sqlplus "/as sysdba"
    Error 57 initializing SQL*Plus
    Error loading message shared library
    Can anyone help me please ?

    Yes sure!! .. The details of alert logs for today is herewith -
    Thu Feb 28 12:30:02 2013
    kewastUnPackStats(): bad magic 1 (0x0DFE82DA, 0)
    kewastUnPackStats(): bad magic 1 (0x0DFE82DA, 0)
    Thu Feb 28 12:36:02 2013
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_ckpt_3160.trc:
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Thu Feb 28 12:36:19 2013
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_m000_5180.trc:
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_m000_5180.trc:
    ORA-00204: error in reading (block 1, # blocks 1) of control file
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Thu Feb 28 12:36:40 2013
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_ckpt_3160.trc:
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Thu Feb 28 12:37:08 2013
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_ckpt_3160.trc:
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Thu Feb 28 12:37:28 2013
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_ckpt_3160.trc:
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Thu Feb 28 12:37:50 2013
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_ckpt_3160.trc:
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Thu Feb 28 12:38:07 2013
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_m000_6256.trc:
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_m000_6256.trc:
    ORA-00204: error in reading (block 1, # blocks 1) of control file
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Thu Feb 28 12:38:12 2013
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_ckpt_3160.trc:
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Thu Feb 28 12:38:34 2013
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_ckpt_3160.trc:
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Thu Feb 28 12:38:56 2013
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_ckpt_3160.trc:
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Thu Feb 28 12:39:31 2013
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_ckpt_3160.trc:
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Thu Feb 28 12:39:47 2013
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_m001_7628.trc:
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Thu Feb 28 12:39:49 2013
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_ckpt_3160.trc:
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_m001_7628.trc:
    ORA-00204: error in reading (block 1, # blocks 1) of control file
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Thu Feb 28 12:40:10 2013
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_ckpt_3160.trc:
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Thu Feb 28 12:40:31 2013
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_ckpt_3160.trc:
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Thu Feb 28 12:40:48 2013
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_m002_2748.trc:
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_m002_2748.trc:
    ORA-00204: error in reading (block 1, # blocks 1) of control file
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.

  • Terminal command that will let me access old username files...

    ... including files saved by timemachine?  I've had a lot of computer problems, first wiped the drive.  It was a chore getting old folders like "desktop" and "downloads" to open for me with my new username and for some reason I wasn't permitted by the system to use the OLD username.  I had to go to every folder and every item in every folder and reset permissions.
    Now, it seems, I need a new drive.  Which means I have to do all those things AGAIN!  Plus re-install software.
    Is there a terminal command that will let me access old timemachine drives (plural) with (unfortunately) multiple usernames?
    Please don't lecture me!  I know I've been hopelessly stupid and inefficient.  I promise to do better.  At least I DID back up.

    what you type is
    man sudo
    I presented an example, which when executed will run as "username" and display the contents of their home directory - the meaning of "ls ~username"
    I suspect that this is going over your head.
    double-click Applications -> Utilities -> Terminal
    type and hit enter
    /bin/csh
    This command starts the C-Shell command line interpreter. The ~ (tilde) character is translated by the C-Shell as the users home directory. For example, "ls ~" will display the contents of my home directory (folder) which is /Users/disguise
    You man want to read up on C-Shell and UNIX commands.

  • HT1430 I hit restore vs. set up a new account for my wife to use my old iphone 3g....now when i plug phone into computer...that prompt is no longer given.

    I hit restore vs. set up new iphone/account for my wife to use my old 3g phone....now that prompt does not come up when plugging it in to sync.  How do I set her phone up and how di I get that prompt to return?

    So you're trying to set up your wife's phone as a new device? Just go to settings > general > reset > erase all content and settings, and you'll get a new device

  • Disable Security prompt or message in dos command line

    Dear all,
    I am working on :
    - Windows 2003 server
    - Office 2007
    - Adobe Acrobat 9 standard
    When I run a dos command :
    C:\WWI>"C:\Program Files\Adobe\Acrobat 9.0\Acrobat\acrodist.exe" /n /q /o "C:\WWI\PS2PDF\Document1.PDF"  C:\WWI\PS2PDF\Document1.PS"
    I always have a confirmation message : "Confirm Security" with 3 options : Edit, Clear and Retain.
    My concern is to not display this prompt because the job is in a batch mode.
    So, could you please help me ?
    Anybody know if exist a command switch or a registry key in order to force Acrobat distiller to apply the defaults security parameters with a unique password ?
    I have contacted the Adobe support but nobody can help me.
    See below how I set parameters up in Adobe PDF printer and security settings
    Thank you for your help and assistance

    Distiller Server is discontinued, so I don't think Adobe intend Distiller to be run unattended any more.

  • Doesn't it get very old, same question about running dos command?

    To everyone who is tooo lazy to search.
    Process p = Runtime.getRuntime().exec("progname arg1 arg2");
    What a wast of everyone's time responding to the same question on how to run a dos command.

    I think you'll find it's
    Runtime.getRuntime().exec(new String[]{"progname", "arg1", "arg2"});

Maybe you are looking for

  • WRT310N Playstation 3 Slow Download speed and general lag

    Hey guys, I just recently bought the WRT310N and got both of my computers working with it. One is wired directly into the router, while the other is running off wireless. My Playstation 3 is able to connect to the router but I am getting an extremely

  • How do i move data from old hard drive to new one?

    Just bought a 750GB Hitachi hard drive for my MacBook Pro.  What is the best way to move the new data to it?  Load it from a time machine backup, or as one source says, install a clean copy of Snow Lepoard, then upgrade to Lion, then copy the data? 

  • How can i replace user fonts folder with back-up?

    I want to replace my user>library>fonts folder (which has somehow become corrupted and is incomplete) with a sound copy from a backup disk. When I try to do this, a dialogue box tells me that the "Fonts can't be modified or deleted because it is requ

  • INBOUND_BINDING_ERROR in SXMB_MONI

    Hi Experts, we are using JMS to IDoc scenario. The interface is running in the production perfectly every day and we have upgraded the patch level and there are many messages are recievd in XI and failed with the below error <Code area="SECURITY">INB

  • Arabic in Smart Forms

    Guys! Can somebody please tell me I am working on SapScript Form which contains both English and Arabic Characters. Logon Is English. SAP Script English is coming perfectly but when I add Standard Text of Arabic, it is not coming as required. As you