Saving an output file in another location
Hi friends,
Is it possible that a specific concurrent report's output file be saved in a different location, other than $<PROD>_TOP/$APPLOUT when executed? Is it possible to configure that?
Thanks in advance.
Jose Melendez
Jose,
Please review Note: 158088.1 - Is Possible to Redirect the Concurrent Processes Output to a Specific Directory for a Specific Responsibility?
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=158088.1
Similar Messages
-
Executing bat files from another location
Hi
In my application i need to execute a bat file which is in another location.
i have my class file in c:\ds and i want to execute the bat file in c:\ds\src\jython.
This is the code i have used
private void executeBootstrapBat(){
String cmd=null;
cmd="cmd /c bootstrap C:\\DS\\HelperApplication\\src\\conf\\wsadmin-local.properties" +
" " + getXmlFileName() + " " + getVOB();
Runtime rt = Runtime.getRuntime();
try{
Process pt = rt.exec(cmd);
}catch(IOException e){
e.printStackTrace();
}You can execute the bat file in any location. Butyou
have to set the classpath in that location whereyou
are executing the bat file.Please stop giving advice on this site. You do not
have any clue what you are talking about at all.Actually I just went looked at a few more of your posts. All complete rubbish. Again please stop posting replies on this site until you get some clue about anything. It is very wrong of you to post replies like you know what you are doing and misleading those who don't know any better. -
How to move safari cache file to another location
How do I do this? I want to either move it to a RAM drive, or to an SSD drive that is inserted into the Expresscard 34 slot.
My safari cache is about 6 GB... I hold about 175 tabs open at all times and the constant background refreshing can make things freeze up.
Or I could turn in off via the Develop Menu...Better to never move system files from the location they presently. Safari may not launch at all.
Best to select: Disable Caches from the Develop menu. -
How to read a file in another location using Java ?
Hi all,
i suppose the below code reads my file 'ridata.dat' when it is in the same folder as my java class file.
How can i read it from a different location?
---------------------------------------------------------------FileRead.java---------------------------------------------------------------
import java.io.*;
class FileRead
public static void main(String args[])
try{
// Open the file that is the first
// command line parameter
FileInputStream fstream = new FileInputStream("ridata.dat");
// Get the object of DataInputStream
DataInputStream in = new DataInputStream(fstream);
BufferedReader br = new BufferedReader(new InputStreamReader(in));
String strLine;
//Read File Line By Line
while ((strLine = br.readLine()) != null) {
// Print the content on the console
System.out.println (strLine);
//Close the input stream
in.close();
}catch (Exception e){//Catch exception if any
System.err.println("Error: " + e.getMessage());
---------------------------------------------------------------FileRead.java---------------------------------------------------------------
Thanks in Advance,
LakshmaTry with JFileChooser
JFileChooser fileChooser = new JFileChooser();
int returnValue = fileChooser.showOpenDialog(null);
if (returnValue == JFileChooser.APPROVE_OPTION) {
File selectedFile = fileChooser.getSelectedFile();
System.out.println(selectedFile.getName());
}Thanks,
Avin -
How to move and access .pst file to another location
I want to move my .ost file in D drive and access from D drive. but when i move the file and start the outlook again then all mails start to download from server again .
Help meHello Taj,
The current forum is for developers. I'd suggest asking non-programming questions on the
Outlook IT Pro Discussions forum instead.
Anyway, you need to correct the new filepath in the profile settings. Go to the Control Panel applet and look for the Mail shortcut. -
Excel files are saved as HTML files
Hi All,
I am saving the output files into a shared location in excel or csv format. However when i ask the users/business to have a look into it then they say that the files are opening as html web page and not able to load properly.
I checked it myself and found it true, all the xls and csv files are saved with .xls and .csv format only but when i try to open it and do as 'save as' then it by default tries to save it as a webpage. Is there any way i can correct this so the file is actually saved as xls only.
Please suggest
Thanks
RonnyHi Gareth,
I am using BI Publiser to ftp my report to the shared location. This is what it involves
[1] build the report in BIP
[2] while scheduling the report in BIP use sftp option to save the output file to the shared location
this is simple process to export the files to the desired location. Now while doing that ...i choose the output format ( template format) as excel and give the extension of the file as .xls.
The files does get saved as xls file but then when i try to save that agian to another location by opening it than it, by default , tries to save it as web page ....similarly when i ask business to have a look at the output files and when they open it than it opens as a web page .....wheareas it should be an excel file ..
Please revert if you require more elaborate explanation
Thanks
Ronny -
Yes - I admit it - I imported html topic files from an output folder of another RH project into the help project I am currently working on (the source files were lost and I needed to bring over a lot of legacy content in a hurry). However, I completely forget that the RH output html file contains unique Java scripting that is used to render the topic properly in a browser, but that same Java Script causes havoc when you open it up in as a source file in another RH Project. Needless to say, it has caused numerous weird things when I went to publish and view my files (but, surprisingly, you don’t really see or notice them in the RH Design WYSIWYG view or preview mode).
The bad news is that it took about 2 weeks for me to notice the issue (the help output is viewed on a special console running Linux with a QT browser that I only view occasionally). The good news is that is that I figured out what the problem was (that took some hours) and I can restore my help project back to a time before I did the "naughty deed".
I am now at a crossroads - do I:
Try to re-enter all of my content from the last two weeks? (Actually, to avoid repeating the same mistake twice, I will need to re-enter the text manually and NOT cut and paste from the RH output files!)
Or locate and find the offending HTML coding in my topic files (if that is even possible)? Has anybody documented what the RH output file JavaScript code injects into your files, and what files they affect?OK - here is the documentation of this weird issue (hopefully, you can read the htlm code in the screen images):
1. In this topic, I cut and pasted some text into the table you see at the bottom of the screen. I had to reapply the “TableBody” style to this text. After doing this, I moved my cursor to the “Keyboard" text on top. Notice that it is displaying the "TABLEBODY" style, although visually, it is displaying the correct style on screen (“Heading 1”).
2. In HTML view, notice the addition of the class= “TableBody”> code for this “Keyboard” text.
3. I then reselected Heading 1 for this “Keyboard” text.
4. Notice that the class= “TableBody”> code is now removed for this “Keyboard” text and has just the proper <h1> tagged assigned. -
Mac OS 10.9.3 - password needed to change files names and location
Hi,
How can I unlock my documents, and the all functioning process of my mac OS 10.9.3. In fact, each time I need to change a file to another location, or if I need to change it's name, I need to insert the password . The message "Finder wants to make changes. Type your password..." appears envy time.
How can I make it stops?
Thank you.
IsabelHi IPires,
Welcome to the Apple Support Communities!
It sounds like you are experiencing issues with permissions. I would suggest reading over the attached article to help you troubleshoot and resolve the permissions on your computer.
OS X Mavericks: If you don’t have the correct permissions to open a file or folder
http://support.apple.com/kb/PH13752
Have a great day,
Joe -
Process can't access file bcos another process has locked a portion of file
Does anyone knows if Java could handle the well-known "Open File" problem.
I encounter the following error when I was trying to copy an outlook file to another location:
java.io.IOException: The process cannot access the file because another process has locked a portion of the file.
My codes is placed below for reference.
Note that I was only trying to open to open the file for reading the Inputstream. Please advise what I could do to avoid getting caught in exception while reading the bytes.
It will be good if Java could handle the Microsoft's "Open File" problem.
// my codes
public static void main(String[] args)
int BUFSIZE = 4096;
File theFile = new File("C:\\Documents and Settings\\" + myID +
"\\Local Settings\\Application Data\\" +
"Microsoft\\Outlook\\mail.pst");
long size = theFile.length();
try {
FileInputStream fis = new FileInputStream(theFile);
// exception will happen on the next line
if (!(size >= 0 &&
fis.read(new byte[BUFSIZE],0,(int)Math.min(size,BUFSIZE)) > -1)) {
System.out.println("encountered OFM problem");
} else {
System.out.println("read file successfully");
} catch (Exception e) {
System.out.println("caught OFM problem");
e.printStackTrace();Sometimes Windows can place a lock on files that will
prevent you from even reading its contents. You may
have to close the MS Outlook application in your
machine to be able to read the contents of this file.Of course I knew Microsoft has locked the file.
I also knows Microsoft locks a lot of other files too.
The idea is that we just want to read the file, we are not writing or modifying anyway, so we should be able to read it. Of course that depends on whether Java wants to step into the area and do something about it. (Please read http://www.stbernard.com/products/docs/ofm_whitepaperV8.pdf)
Well, the easiest way anyone could advise is probably to use Microsoft development tools. The idea is nobody wants to be a "Micro-slaves" if we could...
So I am still waiting for someone with the area of expertise to reply... -
Hello again - I seem to be asking lots of basic questions to
try to move along faster once I really get into the project
writing. I've examined most help topics on this subject but am
having difficulty getting results.
I've been reading that output files and source files can
easily be confused and to store the output files in a location
other than the tool suggests. Is this a step I'd add when creating
the project? I tried to rebuild one but didn't see where I'd
separate the folders. I don't really know what output files I'm
looking for, nor where I'd put them once I do find them. I'm a very
basic user and will not be adding topics through import, nor
manipulating the True Code if that makes a difference.
In addition, my Publish option is greyed out when I attempt
to select Publish no matter what layout option is chosen. I have
generated the project in Flash. I have not defined the publishing
destination since I can't open the Publish dialog. Let me know if
this is enough information to respond.I apologize if I wasn't clear. The impression I got from
Kathleen's initial post is that she's trying to keep the source
files and output files separate so as not to get them confused with
each other.
As noted, I had to change my destination from the default
(which was ".../<project folder>/!SSL!/FlashHelp") because
our Web environment was choking on the exclamation points and
wouldn't open the help. It works fine now that I have a directory
without exclamation points for my output.
I also generate to my hard drive (D: drive on my laptop), not
to a Web destination. My suggestion is merely to specify your own
path for the output if it suits your needs better. If I'm playing
with fire, I haven't burned my fingers yet... :) My help gets moved
to a server when the rest of our Web applications get deployed, so
I don't use the step of publishing to a Web server myself.
Kathleen, regarding your question where your source files are
added: When you create a new project, the dialog asks you to pick a
primary layout, then the next screen includes a field called "Enter
the location for the project." That directory is where your source
files are stored, including the .xpj project file that opens your
project in RoboHelp. If you're opening your project by first
opening RoboHelp and then selecting your project from the list of
projects, one way you can find your project source files is by
searching your hard drive for ".xpj" in the file name.
Hope this is some help (and that I'm not creating more
confusion than I'm eliminating...)!
--Ben -
Set The Secured Files, Not allow printing and saving to another location
Dear Sir / Madam,
Please help...
Possible to set the security permission for share files, not allow end users to printing and saving a PDF to another location.
Thanks,
Alex TaiHi Alex,
Possible to set the security permission for share files, not allow end users to printing and saving a PDF to another location.
Based on my tests, users can save the document with only Read permission, which is by design. If you don’t want users to print files, please do not give the print permissions on printers.
Best Regards,
Amy
Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
Saving file to network location
Hello all of you,
I encounter an issue with InDesign CS5 when it comes to opening and saving files to a network location. I added my company's ftp server to Windows 7 and it appears correctly in the My computer overview (there's an additional line besides the hard discs, DVD player, et cetera). The connection to the server functions fine, no issues here. No problem exists when opening files from this server from within InDesign; I can do whatever I want. Only when I try to save a file the network location isn't displayed anymore within the My computer overview in the InDesign "Save as" dialog box. The network location however appears in the pull-down menu at the top of the dialog box (and nested as part of My computer ...), but when I pick it there, it won't show the context of the server. Additionally logging onto the server (it's IP-based and anonymous logon) doesn't change a thing. Trying to save in the empty server space InDesign returns a "Can't save here" error message.
Does anyone know how to solve this issue? Building the document locally and then copying back to the server isn't a solution, because all external content that is linked in the document resides on the server.
Best regards,
Luc PeulenDoes anyone know how to solve this issue? Building the document locally and then copying back to the server isn't a solution, because all external content that is linked in the document resides on the server.
Scott is basically right. Lots of ID users work over network connections without issue, but if something is going wrong, it's the first place to look. I wouldn't have thought it possible to work in InDesign over a FTP connection!
If you can get Windows to access that server as if it were just another drive (using "Map network drive" in Explorer) then it should work normally. However, a generic Adobe phone tech wouldn't help you figure out why it wouldn't work - there are simply too many variables in a network environment for a generic first-level tech to figure out.
In the short term, the only solution I can suggest is:
Retrieve all of that external content that is linked in the document, and the InDesign document, at the same time, & store it on your local hard drive.
Do your work.
Save & package.
Upload the entire package back to the server.
Long-term, you'd need to talk to your own IT staff to troubleshoot the connection between your workstation and the FTP server. If you can get information about your network from them to post here, I bet that someone will make suggestions to pass on to your IT staff that will actually work. -
How to copy file from one location to another
Hi,
I am new to java, I tried the following code to move the file from one location to another
public class CopyFiles {
public String copy ( File source, File target)
throws IOException {
FileChannel sourceChannel = null;
FileChannel targetChannel =null;
try {
sourceChannel =new FileInputStream(source).getChannel();
targetChannel= new FileOutputStream(target).getChannel();
targetChannel.transferFrom(sourceChannel, 0,
sourceChannel.size());
finally {
targetChannel.close();
sourceChannel.close();
return "Success";
public static void main(String [] args) throws Exception{
File source = new File("C:\\users\\download.pdf");
File destinationFile = new File("C:\\apple\\download.pdf");
copy(source, destinationFile);
The above code is working perfectly, but I Don't want to include the file name in destination file. i.e. File destinationFile=new File("C:\\apple"), and at the same time the pdf with same name has to get stored in the destination location, how can I achieve this.kameshb wrote:
I Don't want to include the file name in destination file. i.e. File destinationFile=new File("C:\\apple"), and at the same time the pdf with same name has to get stored in the destination location, how can I achieve this.It's not totally clear what you're saying here, but what I think you mean is that you don't want to explicitly set the destination file name--you want to just give the copy the same name as the original. Yes?
If that's the case, then break the original up into separate directory and file name portions, and then construct the destination path from the destination directory plus original file name. You can do that by manipulating the full path string, or by using the methods in java.io.File. -
Copy file from a location to another
I work on a Java process that must be optimized and I have some questions.
This process includes a part of copying a file from a location from another (to be more specific, all files that exist in a directory, to copy in another directory), wich technique is more efficient and quickly? To copy using FileInputStream/FileOutputStream in Java or using a java Runtime process that calls a copy command of the Operating System?I work on a Java process that must be optimized and I
have some questions.
This process includes a part of copying a file from a
location from another (to be more specific, all files
that exist in a directory, to copy in another
directory), wich technique is more efficient and
quickly? To copy using
FileInputStream/FileOutputStream in Java or using a
java Runtime process that calls a copy command of the
Operating System?Neither. Use the FileChannels in the nio package if you can:
/* Note: Proper resource closing and exception handling is not done here */
try {
// Create channel on the source
FileChannel srcChannel = new
FileInputStream("srcFilename").getChannel();
// Create channel on the destination
FileChannel dstChannel = new
FileOutputStream("dstFilename").getChannel();
// Copy file contents from source to destination
dstChannel.transferFrom(srcChannel, 0, srcChannel.size());
// Close the channels
srcChannel.close();
dstChannel.close();
} catch (IOException e) {
}Spawning a Runtime process is probably the least efficient way to do it.
- N -
Copy File from One Location to Another Location through xcopy or any
Hi,
I Need to copy one file from one location to another location. That file need to save in C:\Windows\System32 folder
I need to create one .bat file and i want apply that bat as a startup script through GPO.
I tried through XCopy if i test in machine that is working. If i tried in other machine that is not working. becoz of some Credential issue
I tried in the script by netuse command after that my script itself not working.
SET username=XYZ\Administrator
SET password=abcd
@ECHO OFF
cmd "cd C:\"
net use "\\10.50.5.68\c$\Windows\System32" %password% /user:domain\%username%
:copy
Xcopy /S /I /E D:\DLL \\10.50.5.68\c$\Windows\System32
Regards, Hari Prasad.DYou cannot do that in a startup script. You do not need to do that in a startup script.
To add files to the system use GP Preferences.
On Window 7 and later only the Trussted Installer is allowed to add files. (That means only Microsoft.)
No programs or users should ever alter files in the system area.
¯\_(ツ)_/¯
Maybe you are looking for
-
URGENT Help With Scientific Calculator!
Hi everybody, I designed a calculator, and I need help with the rest of the actions. I know I need to use the different Math methods, but I tried tried that and it didn't work. Also, it needs to work as an applet and application, and in the applet, t
-
How to apply TD style only to cells in one particular table
The "schedtable" class below is applied to a nested table, but my syntax for the TD applies the rule to the outer table cells as well. What would the correct syntax be to limit the rule to only the cells in the "schedtable" Please take a look - <styl
-
Cannot make .war file using tomcat with eclipse and ant
i have made all necesary configuration for deploying application using eclipse and ant for the tomcat server. when i start the server by clicking the tomcat icon on eclipse toolbar, the message is prompted that "missing application web.xml and using
-
Internal NAV2013 to relay email externaly through our internal exchange server 2013
ello, We are using NAV 2013 to externally relay email outside and inside through our in house Exchange server 2013. I created a new Frontend connected with "TYPE" Custom and selected specific ip to configure relay through exchange server. Once create
-
What would the Smart Collection criteria be to isolate files in a folder but NOT in a collection?