Solved

Sharepoint 1013 dir output

Posted on 2014-12-12
4
128 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
  • 2
4 Comments
 
LVL 14

Expert Comment

by:SneekCo
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 14

Accepted Solution

by:
SneekCo 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
This article will shed light on the latest trends when it comes to your resume building needs. For far too long, the traditional CV format has monopolized the recruitment market.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

705 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now