Solved

Sharepoint 1013 dir output

Posted on 2014-12-12
4
134 Views
Last Modified: 2015-01-19
Hello,

Is there a way to get the DIR output on a SharePoint 2013 Web part?
I tried to use CMD to do a dir > c:\text.txt but did not work.

Thank you,
RS
0
Comment
Question by:Rad1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 18

Expert Comment

by:Walter Curtis
ID: 40500527
To be honest, I don't understand what you are trying to do. If you would provide some more information it would be helpful.
0
 

Author Comment

by:Rad1
ID: 40500908
Hello,

Hope this clears out the confusion:
in MS DOS we can type Dir c:\ > c:\text.log and get the dir output inside the log.

I am looking for a similar way to get the dir of a SharePoint or in other way I want a text list of the folders I have in one of the SharePoint page.

DO I have to use PowerShell to get a list of the content of a SharePoint page? Is this the only way?

Thanks,
Rad
0
 
LVL 18

Accepted Solution

by:
Walter Curtis earned 500 total points
ID: 40510421
Keep in mind that SharePoint content is not stored in the servers file system, but is stored in a content database. PowerShell could be used to create a text based list of folders. If Dir should be used, you could connect to the SharePoint document library via a network drive with a drive letter, and the Dir would maybe work, never tried it or had a need to, but give it a try!

Hope that helps
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
This video shows where to find the word count, how to display it, and what it breaks down to in Microsoft Word.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question