List all file namess under a dba_directory.
Guys,
It there any way that I can get all the file names in a dba_directory..
ie.
SQL> select * from dba_directories;
OWNER DIRECTORY_NAME DIRECTORY_PATH
SYS ATTACH_FILES C:\PLSQL
Now I'm looking for a SQL query\PL-SQL block to list all file names under C:\PLSQL.
Guidance plz.
Thanks,
Bhagat
There's an Ask Tom thread here:
http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:439619916584
shows how to do this with a Java stored procedure.
HTH
Regards Nigel
Similar Messages
-
New computer ff install not listing all file types under tools-options-applications
New windows installation on another with the same version of ff (10.0.2). Clicking local .pls files in this machine gives option to launch VLC media player but on other computer just text appears.
The extension appears in the applications tab after clicking tools and options on this computer, but the list is far shorter on the other machine and does not include this extension. Is this rectified by installing a plugin? If so which one?The issue isn't that VLC isn't playing the files- it is... but linking to the files saved on my system does not launch VLC from Firefox on the other computer like it does on this one. I've actually been able to add to the applications list. Technically I can run the same apps and associations on both machines except that Firefox isn't handling the ".pls" files at all with the other machine
I've saved a directory structure with .pls files to different streaming radio stations and the directory is linked to from Firefox on both computers... identical directories and files stored. When I bring up one of the folders in this machine and click on the file, I first get the same dialog as you attached- I launch VLC by selecting "Open with" then clicking OK. The radio station plays. I've set it to change stations when I click within the iframe without having to go to VLC and use the open media feature- it does the trick with a single click from Firefox,
The other machine when I click the file the iframe in which the directory was displayed shows text information (urls and other arcane digital nonsense) as though the file were a text file. Both machines have similar installations.... I do not want to overload on the other machine- it's my communications backup but I would like this arrangement to work as it does on this computer.
Again, the biggest hint I see is the absence of the ".pls" file type in the list under the "applications" tab after clicking "Tools"-"Options" in Firefox on the machine in question.
Can something be done either by transplanting missing files from one machine to the next or from about:config to induce the desirable result from the other machine in Firefox?
. -
How to list all files in my system
Hi there,
I want to list all files in my system. My system is Windows XP, can anybody help me please? Any can you recommend me if java is suit for such processing?
Thx in advance.public void showFilesIn(File dir) {
File[] files = dir.listFiles();
for (int i = 0 ; i < files.length ; i++)
if (files.isDirectory())
showFilesIn(files[i]);
else
System.out.println(files[i]);
showFilesIn(new File("C:\\"));
notice that it won't show directories, but only files -
List all files in a directory on a server that hosts the applet
Hei :)
I have a problem. I want to list all files in a directory on my server. ( http://www.foo.bar/tw )
The applet is in the root folder ( http://www.foo.bar ).
So i tried it like this
File fi = new URL(getCodeBase() + "/all/").getFile();But when I try to list the files, I get a SecurityException.
Can anyone help me out?
Peace!
LoCalhttp://search.java.sun.com/search/java/index.jsp?col=javaforums&qp=&qt=%2Blist+%2Bfile+%2Bserver
-
Database query in MaxL DBS-Name list all file information failed
When I tried list all file information command in MaxL it gave me an error saying the user doesn't exist. When I check the user through display user; command in MaxL I get the information as listed below.
Is there something wrong with the way the user was created ?
How can I (Admin) get the index and data file information?
MAXL> query database Application.Database list all file information;
ERROR - 1051012 - User ADMIN@Native Directory does not exist.
MAXL> display user;
user description logged in password_reset_days enabled change_password type protocol
conn param application_access_
+-------------------+-------------------+-------------------+-------------------+-------------------+-------------------+-------------------+-----------------
--+-------------------+-------------------
ADMIN@Nati TRUE 0 TRUE FALSE 3 CSS
native://DN=cn=911, 1Has anyone resolved the problems with using TNSFormat?
As is, I want to move to a shared server setup and to do that I want to use TNSFormat and point to a tns entry which is setup for IPC+Shared connection.
But the Oracle Home that has the Oracle HTTP Server (from the companion CD) does not have SQL*net installed and does not seem to understand TNS.
I have TNS_ADMIN setup, I have ORACLE_HOME_LISTENER poiting to the DB Home.
for the OHS home, using "sqlplus login/pw@ipcshared" works, but "tnsping ipcshared" does not, since tnsping does not exist in the OHS home.
I cannot install SQL*Net from the CD1, since it requires a dedicated/new home and does not want to install in the OHS Home.
The only format that works in a dedicated OHS Home setup is ServiceNameFormat.
Any help or input would be very helpful.
Regards
ps. This is a redhat linux setup.
Message was edited by:
Oli_t -
Hello,
Is there any way to list all files and their paths used in a after-effect project (using extended script)?
ThanksDavid Torno already wrote that wonderful script.
You can get it here:
http://aescripts.com/projectinfolistexporter/ -
CDM 4650 / ACNS - List all files in a channel?
Hello,
I am looking for a non-cumbersome way to list all files in a channel. The only way I know of right now is to go to the CDM Admin Page, go to Previewer, and then view the channel, which is split among many pages and has much extraneous information I don't care about -- I just want the filename in the channel for any given channel.
I was given a way to do this by Cisco which doesn't work, so I was looking for any other solutions. Thanks!I have not seen a non-cumbersome way to do this. You say that a Cisco engineer gave you a way to do it but it did not work. You should contact them to let them know it did not work and maybe they can work with you to get it to work.
-
Snow Leopard finder doesn't list all files on Windows 7 volumes
From my Macbook Pro (10.6.8), I can connect to my Mac Pro, while it is running Windows 7 in Boot Camp, in order to access the Mac Pro's 6 volumes (1 Boot Camp, 5 Mac volumes). This is using SMB via Finder's 'Connect to server…' on an Airport network.
However, Finder never displays all the files and folders on any of the Mac volumes it connects to through Windows 7. It seems to show approximately the first 18-9 files and folders, and then nothing. The same applies when I open a nested folder — it doesn't list all of its contents.
Any ideas as to what's causing this and how I can fix it? I have searched all over but can't find any answers yet, so I'm hoping someone here has seen this before.Thanks for the reply, but I do have the Restore Windows box checked (see below). And the Resume features info (cnet link) only addresses how to turn the feature off, either selectively or globally. I'm simply looking for the functionality that I had with Snow Leopard and now seems to be absent. Maybe it's a bug in my Finder.
-
Why all files deleted under "\reports_ids\web" after restart OC4J
all my jsp files are deleted after any restart of OC4J and when i want to run my jsp report i have to copy jsp files again under "reports\j2ee\reports_ids\web" what i do to solve this problem .
thanks in advanceany help !!!
-
List all file names in a directory
Hello everybody,
I need to write a script in PL/SQL (oracle 10g) that lists all filenames in a specific directory on a client machine and import the files into the database (xml files). After the file is imported they have to be removed.
I was searching for a solution for this because I have never come accross a challenge like this.
What I found was that I could use the procedure dbms_backup_restore.searchfiles of the SYS schema.
Now I need to know how this procedure works. There is very little documentation available.
Can I give the procedure a folder name on my client computer that has the xml files and let the procedure list these files?
Can someone please help me with this. I haven't got a clue.
Thanks in advance.
regards,
MarianeHello Justin,
Thank you for your reply.
You have just confirmed what I already was thinking: that the server cannot read files from the client.
I haven't got a client application running to do this. My customer wants me to write a script in PL/SQL that enables users to run an import of xml files in the database by giving in a directory name on the client.
I told my customer that they have to put the xml files on a server directory. Should that always be the server where the database resides on?
Is there another way to solve this request?
Thanks in advance.
regards,
Mariane -
How to list all files in a given directory?
How to list all the files in a given directory?
A possible recursive algorithm for printing all the files in a directory and its subdirectories is:
Print the name of the directory
for each file in the directory:
if the file is a directory:
Print its contents recursively
else
Print the name of the file.
Directory "games"
blackbox
Directory "CardGames"
cribbage
euchre
tetris
The Solution
This program lists the contents of a directory specified by
the user. The contents of subdirectories are also listed,
up to any level of nesting. Indentation is used to show
the level of nesting.
The user is asked to type in a directory name.
If the name entered by the user is not a directory, a
message is printed and the program ends.
import java.io.*;
public class RecursiveDirectoryList {
public static void main(String[] args) {
String directoryName; // Directory name entered by the user.
File directory; // File object referring to the directory.
TextIO.put("Enter a directory name: ");
directoryName = TextIO.getln().trim();
directory = new File(directoryName);
if (directory.isDirectory() == false) {
// Program needs a directory name. Print an error message.
if (directory.exists() == false)
TextIO.putln("There is no such directory!");
else
TextIO.putln("That file is not a directory.");
else {
// List the contents of directory, with no indentation
// at the top level.
listContents( directory, "" );
} // end main()
static void listContents(File dir, String indent) {
// A recursive subroutine that lists the contents of
// the directory dir, including the contents of its
// subdirectories to any level of nesting. It is assumed
// that dir is in fact a directory. The indent parameter
// is a string of blanks that is prepended to each item in
// the listing. It grows in length with each increase in
// the level of directory nesting.
String[] files; // List of names of files in the directory.
TextIO.putln(indent + "Directory \"" + dir.getName() + "\":");
indent += " "; // Increase the indentation for listing the contents.
files = dir.list();
for (int i = 0; i < files.length; i++) {
// If the file is a directory, list its contents
// recursively. Otherwise, just print its name.
File f = new File(dir, files);
if (f.isDirectory())
listContents(f, indent);
else
TextIO.putln(indent + files[i]);
} // end listContents()
} // end class RecursiveDirectoryList
Cheers,
Kosh! -
To list all the employees under a particular supervisor
Hi
Can any1 plz tell me which table contains the information abt the employees under a particular supervisor?i need to list down all the employees under a particular supervisor.. only the immediate employees not the whole hierarchy.. just one level down.
thanks
SS
Message was edited by:
SSThe PER_ALL_ASSIGNMENTS_F table has each employee/contractor assignment, including the history. The SUPERVISOR_ID is the person id of the supervisor and the PERSON_ID is the person id of the employee/contractor.
-
How to list all files of an ibook in the OPF manifest?
I have this message error when i DELIVERED my iBooks with I Tunes Producer.
ERROR ITMS-9000: "A5809-7_Math_Venture_3rd_Operations.ibooks: The book asset contains file(s) not listed in the OPF manifest: A5809-7_Math_Venture_3rd_Operations.ibooks:/OPS/assets/widgets/Activite? 1 english-1.kpf/images-1/s1.a.jpeg. All files must be listed in the OPF manifest, or there is no way to confirm that they are intended for distribution. For more information refer to http://idpf.org/epub" at Book (MZItmspBookPackage)
Like it is written, All files must be listed in the OPF manifest, or there is no way to confirm that they are intended for distribution.
What that means?
Need help please, for the last step before publishing my first book on iBookStore :-(
TxHi, I've got the same issue here, there was something to do to get it fixed?
I've read that my file (i suppouse the .ibooks file) should be named as the cover file (i suppouse the .jpg that shows the cover)
Well, i renamed almost all files: the .iba file, the .ibooks and the .jpg cover file with the same name: Jalisco Auge de México (right, with accents)
Then, in the list of issues i got this issues above the ones as listed by you:
1: Apple's web service operation was not successful
2: Unable to authenticate the package: (package number.itmsp) -
How to list all files and directories in another directory
I need to be able to list all the directories and files in a directory. I need to write a servlet that allows me to create an html page that has a list of files in that directory and also list all the directories. That list of files will be put into an applet tag as a parameter for an applet that I have already written. I am assuming that reading directories/files recursively on a web server will be the same as reading directories/files on a local system, but I don't know how to do that either.
Hi,
Here is a method to rotate through a directory and put all the files into a Vector (files).
* Iterates throught the files in the root file / directory that is passed
* as a parameter. The files are loaded into a <code>Vector</code> for
* processing later.
* @param file the root directory or the file
* that you wish to have inspected.
public void loadFiles(File file) {
if (file.isDirectory()) {
File[] entry= file.listFiles();
for (int i= 0; i < entry.length; i++) {
if (entry.isFile()) {
//Add the file to the list
files.add(entry[i]);
} else {
if (entry[i].isDirectory()) {
//Iterate over the entries again
loadFiles(entry[i]);
} else {
if (file.isFile()) {
//Add the file
files.add(file);
See ya
Michael -
How can I list all files in a subdirectory in a jar
Hello.
I have wrote a program which lists all class files in given directory.
I used Class.getResource(""), and File.list().
Now I turned the program into single jar file.
It never works.
I know the reason but do not know how to fix the problem.
What can I do?
Thank you in advance.If you are trying to list the files of jar file from java code you can use this code.
Try with the below code
=============================================
try {
// Open the JAR file
JarFile jarfile = new JarFile("filename.jar");
// Get the manifest
Manifest manifest = jarfile.getManifest();
// Get the manifest entries
Map map = manifest.getEntries();
// Enumerate each entry
for (Iterator it=map.keySet().iterator(); it.hasNext(); ) {
// Get entry name
String entryName = (String)it.next();
// Get all attributes for the entry
Attributes attrs = (Attributes)map.get(entryName);
// Enumerate each attribute
for (Iterator it2=attrs.keySet().iterator(); it2.hasNext(); ) {
// Get attribute name
Attributes.Name attrName = (Attributes.Name)it2.next();
// Get attribute value
String attrValue = attrs.getValue(attrName);
} catch (IOException e) {
=================================================
use import java.util.*;
and import java.io.*;
Maybe you are looking for
-
Quantity Contract - target quantity exceed
Dear Gurus, is there a way to stop PO creation with reference to contract when contract target quantity exceed? Warm regards, Fuffo
-
Post Author: HintonBR CA Forum: Data Integration Does anyone know of a good workaround to be able to use Oracle synonyms as data sources? I know that if the synonym and the underlying object (table or view) have the same name I can rename the owner
-
Changing font size in iTunes store and iTunes
Is there a way I can do this? It would be nice if there were a command+ or something along those lines. I'd also like to do the same with the iTunes list. Although I have the large font enabled, it's not that comfortable to read. Thanks:)
-
purchase new ipad today and while trying to link my email account, it comes up with the message that the username and/or password is not recognised. Any help gratefully received. thanks
-
What mp3 player is compatible with my speakers??
I have recently bought a set of gigaworks s750 speakers and I am having trouble finding out which mp3 players are compatible with them, any help would be appreciated.