I want to rename and copy one file by developer

i want from u please to help me in this problem,i want to rename one file in hard disk using forms 6i
i used this command
host('ren c:\xxxxxx_myfile1.txt yyyyyy_myfile2.txt ,no_screen);
there is one problem face me when the length of name of file is more than 8 charchater ,i can not to rename file ,new name stop in 8 charcahter onle ,and when i copy file using forms 6i and length of the name of file is more than
8 charcater copy process is failure ,i use this command
host('copy c:\xxxxxx_myfile1.txt c:\newfolder\yyyyyy_myfile2.txt ,no_screen);

Did you try enclosing the filenames with " ?
Like:
host('copy "c:\xxxxxx_myfile1.txt" "c:\newfolder\yyyyyy_myfile2.txt" ' ,no_screen);

Similar Messages

  • I want to upgrade to Mavericks. Will I need to reinstall all of my apps and copy my files back to the hard drive?  I have not installed an OS on a Mac before and I'm wondering whether it is as involved as on a PC.

    I want to upgrade to Mavericks. Will I need to reinstall all of my apps and copy my files back to the hard drive?  I have not installed an OS on a Mac before and I'm wondering whether it is as involved as on a PC.

    Short answer: You do NOT have to reinstall all your apps and copy your files back.
    Longer answer: Upgrading the OS does not touch any user files. Upgrading the OS should not interfere with any applications which are compatible with Mavericks.  In my experience non-Apple apps are generally left unchanged by the upgrade.  It is possible that some apps may need to be upgraded. One good resource for checking application compatibility is RoaringApps.
    Finally, it is always wise to backup everything, just in case.

  • I did a backup from all my files saved in old external hd to time capsule. After that double checked and recover one file from TC to mac air and it worked just perfect. Today went through TC to recover another file and none of them were there?

    I did a backup from all my files saved in old external hd to time capsule. After that double checked and recover one file from TC to mac air and it worked just perfect. Today went through TC to recover another file and none of them were there?Anybody has a clue what happened?

    renatocremonese wrote:
    I want to use it for backing up my Mac.
    It's good for that . . . 
    But also I don't keep all my stuff in my Mac.
    But not for that. 
    This older and not day-by-day usage files I want to store in the time machine.
    You can do that (see below), but how are you going to back them up?   If your only copies are on the TC, when (not if) it fails, you risk losing your only copy of the data.
    Is it possible to split TC in two partitions.
    No, but there are some workarounds, including making a fixed-size disk image on it to "reserve" some space.  See #Q3 in Using Time Machine with a Time Capsule.
    But you still won't have backups of the stuff you put there.
    You don't say what kind of Mac you have.  If it's a desktop model, just keep the external HD connected to it, and let Time Machine back it up along with your internal HD.
    However, it sounds like you may have a laptop, where that's not going to be convenient.  In that case, your best bet might be to copy the external HD to a disk image on the TC as above, then keep the HD in a safe place.
    To finish, when i enter the TC and go through the Time line how can I get a file from there and move it back to Mac hd.
    Via the "Star Wars" display, per #15 in Time Machine - Frequently Asked Questions.
    You might also want to review the Time Machine Tutorial, and perhaps browse the rest of the FAQ.

  • I have 2 yr old Iphone 4 and have not backed up or connected to Itunes or backed up for 1 yr. I have new computer and want to connect and copy Itunes folder from external HD to new computer and install Itunes. What steps should I take and what precautions

    I have a 2 yr old Iphone 4 and have not backed up or connected to Itunes up for 1 yr. I have new Windows 7 computer and want to connect and copy Itunes backed up folder from external HD (a year ago) to new computer and install new Itunes and new IOS. What steps should I take and what precautions? I don't want to lose any data on my phone such as music, photos, contacts, notes, texts etc, nor lose music from prior backed up Itune folder. Apps should be OK from app store? Thanks for any help.

    Hello CosK,
    The following guide can step you through the process of using a backup of your iPhone 5 to transfer your content to your iPhone 5s.
    Transfer content from an iPhone, iPad, or iPod touch to a new device
    http://support.apple.com/kb/HT2109
    Should one or both of your phones fail to appear in iTunes, the following article provides troublesooting steps that can assist.
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    Cheers,
    Allen

  • I backup my iphone on my pc and copy backup file into drive D then i setup new OS on my pc. after that i copy the backup file into itunes backup folder but itunes can't find the backup file to restore my iphone. how can i restore my iphone?

    i backup my iphone on my pc and copy backup file into drive D then i setup new OS on my pc. after that i copy the backup file into itunes backup folder but itunes can't find the backup file to restore my iphone. how can i restore my iphone?

    Don't you just love changes in interfaces?
    I found the answer to my question.
    When you attach a device (iPhone, iPad) to your Mac, in iTunes 12 in appears as a tiny icon in the second "row" of the iTunes display. Click the icon and the familiar iTunes display for the device appears. From there, on the Summary screen, you can see the dates of the backups of the device (iCloud and backup to the computer). You can also use the button to backup to the computer.

  • How do I migrate files created in a Windows OS to a new external drive that is formatted as a MAC drive. I want to read and write these files back to the new drive.

    How do I migrate files from an external hard drive created in a Windows OS to a new MAC external drive? I want to read and write these files to the new drive.

    LKrzesowski wrote:
    How do I migrate files from an external hard drive created in a Windows OS to a new MAC external drive? I want to read and write these files to the new drive.
    If all you're trying to do is move the files from the Windows external to the Mac external, you can simply connect them both to the Mac and drag the files from the Windows drive to the Mac drive. If you want to move the files back and forth between them, you'll need to establish the format of the Windows external. Macs can read and write to FAT32 and exFAT (which can handle files larger than 4GB) formatted drives but can only read NTFS formatted drives without additional software. With the Windows drive connected, you can check its format with Disk Utility.

  • Using Windows 8.2 and copying large files over USB 3.0 to Segate Backup Plus USB hard drive - I get the following error:-

    Using Windows 8.1 and copying large files over USB 3.0 to Segate hard drive -  I get the following error:-
    Error 0x80070079: The semaphore timeout period has expired
     Using Windows 8.1 with a 3 - 4TB USB Segate drive that is using Microsoft's bitlocker.    It seems I can copy small files w/out issues; however, copying large files and directories causes this error.  Connectivity is USB 3.0 from a Dell
    Latitue3 e6520 to Segagate drive. 
    Can anyone share fix or determine methodology to fix?

    Hi Joe,
    Was the error gone when you turned off the Bitlocker from this drive?
    If no, please refer to this similar thread's solution to resolve:
    https://social.technet.microsoft.com/Forums/windows/en-US/c3fc9f5d-c073-4a9f-bb3d-b7bb8f893f78/error-0x80070079-the-semaphore-timeout-period-has-expired?forum=itprovistanetworking
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • I want to drag and drop a file to a JText area with its file icon

    I want to drag and drop a file to a JText area with its file icon , but the problem is I cant show the file icon.
    Anyone knows this.
    this is my code.
    import java.awt.*;
    import java.awt.image.BufferedImage;
    import java.awt.datatransfer.DataFlavor;
    import java.awt.datatransfer.Transferable;
    import java.awt.dnd.DnDConstants;
    import java.awt.dnd.DropTarget;
    import java.awt.dnd.DropTargetDragEvent;
    import java.awt.dnd.DropTargetDropEvent;
    import java.awt.dnd.DropTargetEvent;
    import java.awt.dnd.DropTargetListener;
    import java.io.File;
    import javax.swing.*;
    import javax.swing.filechooser.FileSystemView;
    public class FileDrag extends JFrame implements DropTargetListener {
    DropTarget dt;
    File file;
    JTextArea ta;
    JLabel lbl;
    Graphics g;
    ImageIcon tmpIcon;
    public FileDrag() {
    super("Drop Test");
    setSize(300, 300);
    getContentPane().add(
    new JLabel("Drop a list from your file chooser here:"),
    BorderLayout.NORTH);
    ta = new JTextArea();
    ta.setBackground(Color.white);
    getContentPane().add(ta);
    dt = new DropTarget(ta, this);
    setVisible(true);
    public void dragEnter(DropTargetDragEvent dtde) {
    System.out.println("Drag Enter");
    public void dragExit(DropTargetEvent dte) {
    System.out.println("Source: " + dte.getSource());
    System.out.println("Drag Exit");
    public void dragOver(DropTargetDragEvent dtde) {
    System.out.println("Drag Over");
    public void dropActionChanged(DropTargetDragEvent dtde) {
    System.out.println("Drop Action Changed");
    public void drop(DropTargetDropEvent dtde) {
    FileSystemView view = FileSystemView.getFileSystemView();
    JLabel testb;
    Icon icon = null;
    Toolkit tk;
    Dimension dim;
    BufferedImage buff = null;
    try {
    Transferable tr = dtde.getTransferable();
    DataFlavor[] flavors = tr.getTransferDataFlavors();
    for (int i = 0; i < flavors.length; i++) {
    System.out.println("Possible flavor: " + flavors.getMimeType());
    if (flavors.isFlavorJavaFileListType()) {
    dtde.acceptDrop(DnDConstants.ACTION_COPY);
    ta.setText("Successful file list drop.\n\n");
    java.util.List list = (java.util.List) tr.getTransferData(flavors);
    for (int j = 0; j < list.size(); j++) {
    System.out.println(list.get(j));
    file = (File) list.get(j);
    icon = view.getSystemIcon(file);
    ta.append(list.get(j) + "\n");
    ta.append("\n");
    tk = Toolkit.getDefaultToolkit();
    dim = tk.getBestCursorSize(icon.getIconWidth(), icon.getIconHeight());
    buff = new BufferedImage(dim.width, dim.height, BufferedImage.TYPE_INT_ARGB);
    icon.paintIcon(ta, buff.getGraphics(), 10, 10);
    repaint();
    dtde.dropComplete(true);
    return;
    System.out.println("Drop failed: " + dtde);
    dtde.rejectDrop();
    } catch (Exception e) {
    e.printStackTrace();
    dtde.rejectDrop();
    public static void main(String args[]) {
    new FileDrag();
    }

    This appears to be a long-standing bug:
    https://bugzilla.mozilla.org/show_bug.cgi?id=634720
    and the accepted workaround is stated in comment 11.
    Oddly, it's possible to do the reverse, i.e. drag multiple eml files from Explorer to a TB folder.

  • Question from renaming a file and copy a file

    Hi
    Like I tell in subject I have a question about those 2 functions.
    Well I have a program that will copy files to an other directory for backup. Those files can have so to 1GB. Well I wrote a my code on using FileChannel and that takes some good time to copy it to the other place.
    But then I tried just for fun something different like renaming the file to that path. For example:
    Orignal File: file.db <-- +- 1GB same directory as the jar file
    to renamed file: ../../../test/file.db
    That goes very fast and I can open the file without lost of data.
    But what is the difference between both function because they do the same just that rename is much faster.
    Thx in adavance for your help

    But what is the difference between both function
    because they do the same just that rename is much
    faster.Copying a file involves copying all the data of the file from one physical location on the disk to another. That involves a good deal of IO.
    Renaming/moving a file is usually implemented on platforms in such a way that the data remains at the same location and file table entry is modified.

  • I have created a new profile and copied firefox files from my old computer into it. How do I switch to the new profile, do I just delete the old one?

    I am running windows 7 I had to recover my files from an external hard drive when my old computer crashed. I have created a new profiles as outlined in the firefox website and copied all the files into it. I just need to know how to use this new profile when I open firefox, do I just delete the old profile? Or do I have to reinstall firefox.

    If you no longer need or intent to use that older profile then you can use the Profile Manager to remove that profile and delete the files.
    *http://kb.mozillazine.org/Profile_Manager
    *http://kb.mozillazine.org/Backing_up_and_restoring_bookmarks_-_Firefox
    *http://kb.mozillazine.org/Profile_backup

  • Blackbery Link - browse pc folders and copy mp3 files not in music folder

    Hello to all of you
    I have music archives in different drives and pendrives
    It is not intuhitive at all how to browse local PC drives and or PC folders to select and copy single or many .mp3 files from the PC to the BlackBerry device.
    Please don't tell me that the silly solution is to move the mp3 files to the windows music folder.
    Additionally, i find really against an user friendly approach the BlackBerry Link in the music section. It doesn't allow to show the mp3 files names and use, manage and browse .mp3 files by their name, I see only
    - All the music
    - Album
    - Artists
    - Genres
    - Playlists
    well,
    - I have so many .mp3 files
    - they don't have all the mp3 tags
    - I see only an unfinished list which doesn't allow me to select the file I need, and I must scroll all of them every time
    A TOTAL NO SENSE in my personal opinion
    Anyway , from BalckBerry Link and from PC side, how to select one single mp3 file, QUICKLY, and copy it inside the BlackBerry device in the music folder?
    Thank you
    C0r

    Yes CRAZY!!! It is confirmed,
    trying to find a solution to this crazy behavior, I've turned to documents side.
    I've added my mysic folder to the documents and TA-DAAAH! The .mp3 files don't show!!!
    On the right panel a big string says "The folder doesn't contain supported files"!!!
    Well, looks like that BlackBerry Link leaks like the OS 10
    Anyway, if you can provide a solution that allows to copy mp3 files ID3-less (http://en.wikipedia.org/wiki/ID3), mean that none of the ID3 has been filled, thank you so much in advance.
    To BB Link developers, think about allow users to tranfer files as files and not as you arbitrary want, thank you.
    C0r

  • How do I save all tracks as one and create one file/mp3?

    I have logic pro 8 and I am a rapper. I created a song, which is about 6 tracks long. Now that I have finished the song, I want to save the COMPLETE product as one file, a file type that can be played in Itunes. When I try to save it, it only saves each track as an individual file.
    Can someone help me?

    You have to BOUNCE the finished product. If you look at page 601 of the user guide, it explains it there in detail. You can output the file in several formats, including MP3.
    Peter

  • Single User Mode - mount external drive and copy user files to there

    I have an iBook G4 running (I think) Tiger (although it may be Panther). AHT reports a bad HD and it will not boot from that drive. Mounting it via Target Disk to another Mac won't permit me to even see beyond the root directory; just a spinning sunburst at the bottom of the Finder window.
    If I boot into single-user mode, I can "ls" and "cd" to see the files and folders in the home folder. Assuming the HD is named "Macintosh HD" and I have a USB-connected hard drive named "Backup", what are the commands I need to use in single-user mode in order to mount "Backup" and copy the user's home folder (there's only one on this drive) over to "Backup"?
    As I indicated above, I'm not absolutely sure whether this iBook is running Panther or Tiger.
    Thanks in advance for any assistance!

    I'm in the middle of copying things.
    I did a chmod -R ug+w (IIRC) to the 300GB volume and this made it writable.
    I then CD'd to the Pictures folder on the Macintosh HD.
    I then did a cp *.jpg /Volumes/300GB/ and found that it managed to copy all of the jpegs that were sitting loose in the Pictures folder. Some of the photos were corrupted but I expected this as the drive is reported to have a hardware issue by AHT.
    I'm now in the process of copying the iPhoto Library using the cp -r command. Some files are being reported as bad and can't be copied but, again, I'm expecting this.
    Whatever I can get from this drive will be a bonus. I'll mention that I used Drive Genius to duplicate the HD to a disk image and, while this was done successfully, it resulted in a "no filesystem" error when I attempted to mount it. However, I -did- ask for it to be mounted anyway and then used DiskWarrior on it (even though it didn't appear in the Finder). It took a few hours for DiskWarrior to come up with a "preview" of the disk (as the filesystem was thoroughly hosed). The User folder was nowhere to be found and every file that was displayed was corrupt. That's why I'm trying this "out of the GUI" process.
    I'll thank everyone who made suggestions; they all pointed me in the proper direction.

  • After the resent sys update to Elipsis 7 KitKat, I can no longer add, rename, move, copy, create files or folders to my SD. What's up with that?

    Updated sys to Kit Kat as recommended by Verizon. Now I can no longer add, move, copy, create files or folders to SD card. What's up with that?

    There is no such thing as a stupid question.  With Kitkat you are very limited in what you can do on the sd card, an app can write to its own folder on the sd card only, here is a little more info here How to bypass Android 4.4 (KitKat) external SD write restrictions without root
    You are basically restricted to writing to a single folder per app on the sd card.  The other option is to move things by connecting your device to a computer and using it.

  • How to make qury form and copy one data from one form to another

    Hi,
    i would like to develop a form which is used to query a particular data and copy that data to other form.
    Thanks

    Hi,
    i have to develop two form namely memo and chalan.
    memo will generate by different departments and send to store department to create a chalan.
    first memo data will enter by department and this memo no will send to store department.
    store department will find that memo by find button and data should copy from memo form to chalan form

Maybe you are looking for

  • Beats By Dre

    Anyone that spends a decent amount of time listening to music through headphones knows what a wide range of sound quality and comfort you can get from different models of headphones. I spend a good portion of my days with my headphones on to help blo

  • How to create a user in SQL database table for FBA in SharePoint 2013

    Hi, I am trying to configure Form Based Authentication on my SharePoint Dev machine. The purpose is to add an external user to a table (using a registration page).The provider used is SQLMembershipProvider.The dev machine is also configured as domain

  • Newsletter form activating event registration form

    I have a newsletter form in a content holder that is part of my template. When a user signs up for the newsletter while on the event registration page, it activates the event registration autoresponder email saying that they signed up for the seminar

  • EA1 - SQL Formatter issues (JOINs and GROUPs and ORDER BY oh my ;)

    Great job with improving the SQL Formatter, but it still has some bugs that need to be worked out. The key words JOIN and it's modifiers INNER, LEFT, RIGHT and FULL OUTER are not recognized as master key words. As such they end up flush against the l

  • What is the reasonable battery count cycle for a new macbook pro?

    what is the reasonable battery count cycle for a new macbook pro? I just bought it and i found that the count cycle for the battery is 6, is that normal?