Import a csv file to workspace root folder using Batch script

Hello

I usually use LCM to export/import from one instance to another in my planning and HSS and Reporting objects.

Here, I have a specific requirement where I want to import couple of CSV file from a path on the server specified in the root directory of the workspace that is accessible to users similar to other FR and IR reports.

I was looking for a utility to import or batch scripts I use to import the file to specific path from the server to the folder root of the workspace. \

any help?

-KP

Checkbox Oracle - Hyperion Labs...: upload files in bulk of permissions in the workspace he wrote for the pdf files, but you can change it

Concerning

Celvin

Tags: Business Intelligence

Similar Questions

  • How to copy files on the USB key using batch script even if the drive letter for the USB v.

    Hello!
    I am trying to create a batch file that will copy: C:\My Folder\myfile.txt on a USB key. I created the file "Tango.spe" on the USB and used the "If exist' readers in order to search for the file on USB connected." "

    Here is my code so far:

    off @echo

    If exist D:\Tango.spe set variable = % BKPDRV %

    If exist E:\Tango.spe set variable = % BKPDRV %

    If exist F:\Tango.spe set variable = % BKPDRV %

    If exist G:\Tango.spe set variable = % BKPDRV %

    If exist H:\Tango.spe set variable = % BKPDRV %

    If exist I:\Tango.spe set variable = % BKPDRV %

    If exist J:\Tango.spe set variable = % BKPDRV %

    If exist K:\Tango.spe set variable = % BKPDRV %

    If exist L:\Tango.spe set variable = % BKPDRV %

    If exist M:\Tango.spe set variable = % BKPDRV %

    xcopy/y/i/h/k/e 'C:\My Folder\myfile.txt' % BKPDRV %


    Can someone tell me what I am doing wrong?

    Thanks in advance :)
    Andes

    Salvation, Andes,
    Please go to the Microsoft Community Forums.
     
    This problem would be better suited to the MSDN Forums community.
    Please visit the link below to find a community that will provide the support you want.
    http://social.msdn.Microsoft.com/forums/en-us/categories
     
    Thank you.
  • Thousands of PES files in the root folder of drive D?

    I'm under PSE 13 on a Windows 7 system. I was shocked and horrified to discover, after use of PSE 13 days that the root folder of my D: drive where I have installed PSE13 has nearly SEVEN THOUSAND files! These are for the most part of the xml, bmp, jpg, psd, mp4 and .gif files. It is an absolute no no prospects of a good Windows file system management. Applications should NEVER store hundreds or thousands of files in the folder root of the drive, one. That is why the sous-sous-sous-dossiers/sous-sous-sous-repertoires.  Can you imagine the chaos if every application developer did it?

    More surely there be a way to specify where these organizing files can be stored and place them in the folder of my hard disk where they are absolutely not?

    mxgordon wrote:

    ... Unless it started in PES 11 I had installed before the upgrade to 13, however, when 11 was installed, it's all on the C: drive. I pass the process of conversion of the catalogue of 11 to 13.

    The files usually have names like 'B0000000.pref', 'B0000002', 'B0000005.dat', B0000006.xml, 'B0003495.xml', 'B0003496.bmp', ' "B0006834."» "JPG", "B0006816.psd" and a huge 2 GB of files "Photoshop Temp2287141416368".

    What you show, it is the content of a backup folder. It's a pretty common problem to find all the files in a folder root of a drive when the destination of the backup folder was not specified, the drive letter.

    A backup folder contains files renamed image as "". B000000 ". "JPG", where the suffix is maintained. All the other files and subfolders are renamed in the original catalog file. More important still, the backup folder contains the two most important files, "catalog.buc"(a copy renamed your database "catalog.pse11db" and a "backup.tly" file that contains all the information to rename the files and store them in their structure of tree of file origin of the command of the "restoration" of the Organizer. Catalog backup file is usually created on an external EHD. The restoration process normally allows you to set the location of the main folder on the backup drive. Users don't often specify a folder to create for this purpose; I always recommend to create the backup folder before the restore process.

    Your case is a little more complicated due to several factors:

    -you have converted from version 11 to 13

    -you have installed an SSD

    -you have installed software elements on D: which is something not 1% of typical users will do.

    This and your answer shows that you and only you can find what you've done to get the contents of a backup in the root folder. The answer requires you to remember all of the previous steps, you have done to convert the backup and migrate to the D: drive.

    What is not clear to me of your two different messages, is if the problem is to find files cumbersome and unnecessary in the root or folder if you have also problems with your catalogs and library of image files. If you have no problem to remove unwanted files from the root folder, you simply use Explorer to delete all files starting with "B00" over the catalog.buc and backup.tly file. Instead of delete, you can even move them to a newly created folder: this will create a valid backup folder.

    Thanks in advance for your comments, they can be very useful for other users.

  • import a csv file into AddressBook

    I'm migrating from outlook to Thunderbird. Import all the emails and addresses does not work. So I exported by e-mail addresses from my server to a csv file. I imported the csv file into Thunderbird. I have to OK the addresses import. Is it possible to import in one click

    If you export all your contacts in a single csv file, you should be able to import the file in a single step, although you may need to edit the csv file before you do:

    https://support.Mozilla.org/en-us/questions/1012084

  • Import from CSV file into oracle using pl/sql - sql loader 3.1

    Hello

    I am trying to learn how to import a CSV file in an oracle table. I tried the import utility in SQL Loader, but it generates specific lines of code to import each line. I would like a loop to go through the CSV file stored on my local disk and transferred it to my table.

    I tried the following, but not luck
    DOWNLOAD THE DATA
    INFILE 'sample_csv.csv '.
    IN THE TEST TABLE
    FIELDS TERMINATED BY ', '.
    ;

    951716 wrote:
    Hello

    I am trying to learn how to import a CSV file in an oracle table. I tried the import utility in SQL Loader, but it generates specific lines of code to import each line. I would like a loop to go through the CSV file stored on my local disk and transferred it to my table.

    line-by-line is slow by slow.
    PL/SQL will be NEVER faster than simple SQL
    INSERT INTO MYTABLE SELECT * FROM EXTERNAL_TBL;

    http://www.orafaq.com/wiki/External_table

  • Anyone has any experience of importing a csv file and store it in a database in MS SQL

    Anyone has any experience of importing a csv file and store it in a database MS SQL. Outside sql injection there is any another converns security?

    Draft of the steps.

    1. use to download the file from the client to the server see
    http://www.dennismiller.TV/index.cfm/2007/12/26/file-upload-using-ColdFusion-and-Flex

    2. use to read the contents of the file into a variable.

    3. perform a loop on the content of variables for each line, dealing with the variable as a list delimited by a newline rather then a comma

    4. use list functions on each line to get the data you need, and then to transmit these data to SQL with CFQUERY or CFPROCPARAM.

  • How to compress files after backup is finished in batch script

    Original title: files compressed
    How to compress files after backup is finished in batch script

    Hello

    Thank you for visiting the Microsoft answers community site. It is better suited for the IT Pro TechNet public. Please ask your question in the TechNet Windows 7 Scripting forum.

    http://social.technet.Microsoft.com/forums/en-us/iTCG/threads

    I hope this helps.

  • Address book import of csv file gets empty address book

    I have a .csv file from a Windows 'Contacts' window. It contains four hundred entries, each composed of a name and E-mail address. The first line of the file says .csv "name, Email '; the entries are separated by returns and the areas that fall within the comma.

    When I import to intoThunderbird, I say to import an address book from the file and to import only the Email address and display name fields. When the import is executed, it is very fast and no errors are displayed. The new address book is displayed among the Thunderbird address books, but it is empty.

    Thank you
    Joe Nelan

    To import an address book, try the following steps:

    Of the Treasury Board, click "Address book" (or 3-bar menu-> tools-> address book).

    In the list in the left pane address books, click the one you want to import (or use the "personal address book").

    On the menu bar, select Tools-> import. Opens a new window "import."

    Click on "Address books" and "Next"

    Select "Text file", click "Next".

    Near the lower-right corner replace LDIF 'separated by commas.

    Navigate to the folder where your CSV file. Left click on it once. Click on 'open '.

    For CSV, there is no standard for the number or the order of the fields. The screen you see allows you to 'match' your entry with the fields of TB.
    With respect to mapping of the fields, you have two columns: one of your CSV names and one of the CT. What you're trying to get first name, last name first name family name, etc.. If you are lucky, they will be already matched to the top. But if not, you can click on one and move it upwards or downwards in the list until it is opposite the name of the corresponding field. This will get names, email, phone, etc. in the right places. Make sure the fields are checked and the ones you don't want is unchecked.
    Once you have everything set, click OK.

    Note 1: the file name of your CSV file becomes the name of the address book (for example AddrBook.csv will produce an address book named "AddrBook").
    Note 2: when you first watch the imported address book, it can be empty. Click on another (for example, "personal address book"), and then return to that matter.

  • Several Variables import from CSV file

    Hello PowerCLI Masters!

    I've been dabbling in PowerCLI now for about 6 months, especially for larger deployments VM.  I've been tweaking my scripts to automate more over time.  I started with setting all the variables manually and just import the virtual machine to a txt file names, then created several loops in a single script that would incorporate different text files, depending on model, data store, disc sizes VLAN, etc..

    I think that the next step here is to import variables by vm (essentially, a line of a CSV file).  We receive our demands for construction as a spreadsheet, so it would be relatively easy to fill in the correct fields in a spreadsheet and run a script that will import values.  I can't seem to put on the right track with the simple search, so I thought I'd post it here and see if:

    1. someone already did and can provide guidance

    2. can someone put me on the right track to how I would go all this

    3. someone tell me that it is not possible (in the hope that it does not go down like that, but it is certainly possible)

    This IS JUST a SAMPLE of the SCRIPTS - may or may not have a syntax perfect at this stage...

    # SET VARIABLES #.

    $vmname = get-content C:\PowerShell\serverlist_1.txt
    $vmname | {foreach-object
    $vmname = $_

    $templatename = "TMPLT-GSI.
    $folder = "GSI".
    $date = get-Date - uformat "%Y %m %d '.
    $expdate = "20110930".
    $reqno = "00034.
    $sysowner = "GSI".

    $esxhost = "esxhost1.test.com".
    $datastore = "DATASTORE_1".

    $cpu = 1
    $mem = 4096
    $datadrive1 = 26214400

    $datadrive2 = 52428800
    $pgname = "ECOM_902".

    #

    # BUILD/CONFIGURE VM #.

    #

    New-VM - vmhost $esxhost - name $vmname - model $templatename - Datastore $datastore - thick DiskStorageFormat - location $folder

    New-disk-hard - vm $vmname - CapacityKB $datadrive1
    New-disk-hard - vm $vmname - CapacityKB $datadrive2
    Get-VM-name $vmname | $mem set-VM - MemoryMB - NumCPU $cpu - confirm: $false
    Get-networkadapter $vmname | together-networkadapter - networkname $pgname - confirm: $false
    Get-VM-name $vmname | Game-CustomField-name "creation Date" - value $date - confirm: $false
    Get-VM-name $vmname | Game-CustomField-name 'expiry Date' - value $expdate - confirm: $false
    Get-VM-name $vmname | Game-CustomField-name "Application number" - value $reqno - confirm: $false
    Get-VM-name $vmname | Game-CustomField-name "Proprietary system" - value $sysowner - confirm: $false

    }

    So, rather than setting these values in the script, I want to shoot them from a spreadsheet that looks like this (a partial list at condition of course):

    $vmname$templatename$cpu$mem$pgname$datadrive1$datadrive2
    Testdeploy001TMPLT RHEL614'ECOM_902 '.2621440052428800
    Testdeploy002TMPLT-2008_ENT_6428'ECOM_902 '.26214400104857600
    Testdeploy003TMPLT-2008_ENT_6428'ECOM_906 '.26214400104857600


    Thanks in advance for any help provided!

    -Brent

    vmname TemplateName central processing unit MEM pgname datadrive1 datadrive2 folder
    Testdeploy001 TMPLT RHEL6 1 4 'ECOM_902 '. 26214400 52428800 GSI
    Testdeploy002 TMPLT-2008_ENT_64 2 8 'ECOM_902 '. 26214400 104857600 GSI
    Testdeploy003 TMPLT-2008_ENT_64 2 8 'ECOM_906 '. 26214400 104857600 GSI

    I would do something like this:

    $date= Get-Date -uformat "%Y%m%d"
    $expdate="20110930"
    $reqno="00034"
    $sysowner="GSI"
    $esxhost="esxhost1.test.com"
    $datastore="DATASTORE_1"
    
    Import-CSV C:\PowerShell\serverlist.csv | Foreach {
     New-VM -vmhost $esxhost -Name $_.vmname -Template $_.templatename -Datastore $datastore -DiskStorageFormat thick -Location $_folder
     New-Harddisk -vm $_.vmname -CapacityKB $_.datadrive1
     New-Harddisk -vm $_.vmname -CapacityKB $_.datadrive2
     Set-VM -VM $_.vmname -MemoryMB $_.mem -NumCPU $_.cpu -Confirm:$false
     get-networkadapter $_.vmname | set-networkadapter -networkname $_.pgname -Confirm:$false
     Get-VM -Name $_.vmname | Set-CustomField -Name "Creation Date" -Value $date -Confirm:$false
     Get-VM -Name $_.vmname | Set-CustomField -Name "Expiration Date" -Value $expdate -Confirm:$false
     Get-VM -Name $_.vmname | Set-CustomField -Name "Request Number" -Value $reqno -Confirm:$false
     Get-VM -Name $_.vmname | Set-CustomField -Name "System Owner" -Value $sysowner -Confirm:$false
    }
    
  • How to import a csv file in a histogram

    Hi, I'm looking for a way to be able to import data from a csv file in LabVIEW 8.6 have it create a histogram chart. I've seen this done before, so I know it's possible, I just need to some resources are started vi get me in the right direction. I have thousands of entries, and it gets teadious importation vi macros QI. Does anyone know of a vi, or the Toolbox that will give me the building blocks to do so. Appreciate any help, thanks, AJ

    Bob, the op clearly LabVIEW 8.6.

    AlphaDog,

    You have a shortened exaple of the data file you?  There are several channels or just one?

    No matter, if you look in mathematics-> palette of probability & statistics, you will find a Histogram.vi that will take a table of data and do a histogram out of it.  To display it, use a chart and change the type of route to be a bar chart.

  • DIAdem - import programmatically .csv files with. STP file without dialog box

    Does anyone know how to import programmatically with a .csv files. STP file without opening the import box dialog box every time?

    I've been through the forum and seen for .xls files and solutions through the help file which is recommended to use the ExcelImport command, but these do not seem to work for .csv file types.  I am currently using the DataFileLoad command to import the files, which works very well to load the .csv files, but it forces me to go to the. STP file for each file.

    Does anyone know a better way to import a file .csv programmatically?

    Wow... Who had a fraction of the time that does the method of the dialog box.  I'll have to revise the data portion my DiAdem Advanced manual Plugin.

    Thank you, Brad!

    Steve

  • DW can download the files from the root folder defined bad?

    Can download Dreamweaver inadvertently a file from a local root folder set to the wrong URL?

    I created and uploaded a website ( has) last Monday. This afternoon, I googled a second site, I set up a few months ago (site B). I found it ranked at the top of the page of Google, but Google fourth or fifth entry included the URL of the page 'Contact' of A site.

    I clicked the link and found the 'Contact' of site A page as it should. But when I clicked on the Google cache, I discovered that at one point the site and the Web site B 'Contact' pages (seem to) briefly occupied the same Web page Monday afternoon.

    I don't understand how this could have happened. I did not file for site B last week. I am certain that I didn't wrong download its files to the wrong site. And even if I had, not would be not the whole site - not just a page - have downloaded?

    I hope this question makes sense to someone. I of course do understand.

    Thank you.

    PS I'm using CS4 on a Mac...

    First off I want to ask have you actually checked on the host site to check the structure of the folders in each site? Are the two sites on the same host? Look and see if all of the pages where they are supposed to be.

  • Import a CSV file into a table

    Hello

    I followed this example to download the CSV file in table in the database.
    http://avdeo.com/2008/05/21/uploading-Excel-sheet-using-Oracle-Application-Express-apex/

    It seems that no file is saved in this table - wwv_flow_files

    When I run the procedure laid down in the above example, I get error "No data found".
    Please, help me.

    I use Oracle Apex version 4.0.2

    Thank you!

    See my sample application

    http://Apex.Oracle.com/pls/Apex/f?p=51467:1:3854972221692354:no:

    user: test password: test

  • How to import the XML file into an oracle table using a BPEL process

    Hi friends

    How can I import XML file in the db oracle table using a BPEL process

    (1) I have generated an XML file in my local system with a field
    (2) I created a temporary table in my oracledb with the same field in the XML file
    (3) that I want to import these XML files which is the local host to my db oracle using a BPEL process
    (4) for that what steps should I me fallow please suggest me if there is no document for this?

    Thanks in advance
    AT

    Hi to

    Here you go...

    http://blogs.Oracle.com/ajaysharma/2011/03/using_file_adapter_database_adapter_and_mediator_component_in_soa_11g.html

    I hope that helps!

    Thank you
    AJ

  • Links of images imported from a CSV file into a SQL table using phpMyAdmin

    I have .csv with five areas, the first is images.

    images150/9310VSony02.jpg.

    This imported into a sql database using phpMyAdmin (first time user) table called rsIMAGESTEST.

    Using Dreamweaver is applying insert for php objects/dynamic Table/Recordset XXX pages

    The table is at - he saw in explores the image url is displayed rather than the jpeg format. image.

    The rest of the data in other areas is fine stright txt. Please can someone explain what I am doing wrong.

    Flowing is the sql I can to get what we need to change?

    @mysql_select_db ($database_pauls, $pauls);

    $query_Recordset3 = SELECT * FROM rsIMAGESTEST;

    $Recordset3 = mysql_query ($query_Recordset3, $pauls) or die (mysql_error ());

    $row_Recordset3 = mysql_fetch_assoc ($Recordset3);

    $totalRows_Recordset3 = mysql_num_rows ($Recordset3);

    To view the image, you must pass the value of the recordset to the src attribute of the tag. Assuming that the domain name is 'image ':

    
    

    You can also use Insert a picture. In the dialog box select the Source Image, the value of "Select file name of" to "Data Sources." You can then select the domain name correct of your recordset.

Maybe you are looking for

  • streaming stop working when I installed the new version on my windows 7 PC

    After you have installed the latest version of FF on my laptop Windows 7 Dell, live streaming stop working. Two examples, http://betaplayer.radio.com/player/knx-1070-newsradio and http://www.cnn.com/video/?hpt=sitenavThe CNN site provided a message t

  • Pavilion x 2-10-n109nl: Audio services does not

    Hi all, at one point in time and after any particular event, my laptop (Pavilion x 2-10-n109nl with Win10x64) started does not recognize the audio device. It displays a red x is close to the 'Volume' icon in the taskbar notification as if no audio de

  • Windows Movie Maker, backup problem

    A film using a Canon's HD camcorder. I changed the file types of. MTS of. AVI in order to import clips movie maker for editing. I've finished editing and press on save to my computer and I get pop ups saying memory could not be read or memory cannot

  • screen resolution of 16 bit to 32 bit.

    "I'm running a Dell Dimension 4600 C. XP has already been installed and tried '7'. didn't like it because of driver problems. o.s. reinstalled xp now I can't change my screen resolution of 16 bits to 32bit.i need it works because I am using a monitor

  • Windows Mail - sending a message not get out

    Since yesterday, 16 March 2016, Windows Mail will not send mail. However, he received letters from OK. I looked at the community q & a, but none works. My e-mail address ends with @ntlworld.com I tried to change outbound SSL to 587, 25, port number (